Installation
Install badaso first. After that, you can include the Badaso package with the following command.
For badaso v2.x (Laravel 8)
composer require badaso/post-module
For badaso v1.x (Laravel 5, 6, 7)
composer require badaso/post-module:^1.0
Run the following command.
php artisan badaso-post:setup
php artisan migrate
composer dump-autoloadFor badaso v2.x (Laravel 8)
php artisan db:seed --class="Database\Seeders\Badaso\Post\BadasoPostModuleSeeder"
For badaso v1.x (Laravel 5, 6, 7)
php artisan db:seed --class=BadasoPostModuleSeeder
Add the plugins to your
MIX_BADASO_PLUGINS
to.env
. If you have another plugins installed, include them using delimiter comma (,).MIX_BADASO_PLUGINS=post-module
Add the plugins menu to your
MIX_BADASO_MENU
to.env
. If you have another menu, include them using delimiter comma (,).MIX_BADASO_MENU=${MIX_DEFAULT_MENU},post-module
Fill the other variables in
.env
file.MIX_POST_URL_PREFIX=post
Prefix for accessing post | optionalMIX_ANALYTICS_ACCOUNT_ID=
Account id from google analytics | optionalMIX_ANALYTICS_WEBPROPERTY_ID=
Web property id from google analytics | optionalMIX_ANALYTICS_VIEW_ID=
View id from google analytics | optional
Install & compile the JS
npm install && npm run dev