Installation
Last updated
Last updated
OR
Follow the steps below :
Quick Note: If you are installing this package in a new project, make sure to install the default user authentication system provided with Laravel.
This package using Pusher Api, so you need to :
Create account and modify .env
file of your Laravel app with your api credentials.
This package used a Pusher client events, and client events must be enabled for the application. You can do this in the Settings
tab for your app within the Channels dashboard.
Read more about Pusher 'Triggering client events'
Packages' assets to be published : The Important assets:
config
assets
migrations
and the optional assets :
controllers (you need to configure this, if published)
views
to publish the assets, do the following command line with changing the tag value .. that means after --tag=
write chatify-
+ asset name as mentioned above.
Example :
NOTE: Publishing assets means (e.g. config) that creating a copy of the package's config file into the config
folder of your Laravel applications and like so with the other assets (Package's Views, controllers, migrations ...).
Migrate the new migrations
that added by the previous step
Create a shortcut or a symlink to the storage
folder into the public
folder
For Laravel <=v5.4
that doesn't support package auto-discovery, add the following provider into config/app.php
providers array list :
and the following alias into into config/app.php
aliases:
After installing the package, you can access the messenger by the default path(route path) which is /chatify
, and you can change path name in the config file config/chatify.php
as mentioned in the configurations
section.
That's it .. Enjoy :)