Install Mixpost Lite In an existing Laravel app
If you are using Laravel (v9 or v10), it's recommended to install Mixpost Lite as a package within your application. This approach is ideal for those already familiar with Laravel.
Server requirements
Before proceeding, please review the server requirements to ensure that Mixpost functions properly.
1. Installing via Composer
composer require inovector/mixpost
After installing the Mixpost package, you may execute:
php artisan mixpost:install
To ensure that the assets get republished each time Mixpost Lite is updated, we strongly advise you to add the following command to the post-update-cmd
of the scripts section of your composer.json
.
"scripts": {
"post-update-cmd": [
"@php artisan mixpost:publish-assets --force=true"
]
}