Made with ❤️ by The Control Group
Website & Documentation: https://laravelvoyager.com
Video Tutorial Here: https://laravelvoyager.com/academy/
Join our Slack chat: https://voyager-slack-invitation.herokuapp.com/
View the Voyager Cheat Sheet: https://voyager-cheatsheet.ulties.com/
Laravel Admin & BREAD System (Browse, Read, Edit, Add, & Delete) & Blog, supporting Laravel 5.4 and newer! Build with Voyager Admin Package & ready update if voyager update
After creating your new Laravel application you can include the Voyager package with the following command:
composer require ken/laravel-voyager-blog
Next make sure to create a new database and add your database credentials to your .env file:
DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
LITEPIE_PREFIX=your/dashboard
LITEPIE_NAME=litepie
LITEPIE_APP_NAME=litepie
LITEPIE_DESCRIPTION="Description Your App"
LITEPIE_BUILDING="Jakarta, Indonesia"
You will also want to update your website URL inside of the APP_URL
variable inside the .env file:
APP_URL=http://localhost:8000
Only if you are on Laravel 5.4 will you need to Add the Service Provider.
and adding
Ken\Blog\LitepieServiceProvider::class,
php artisan litepieweb:install
open config/voyager.php and change like this
'additional_css' => [
'vendor/litepie/css/custom.css',
],
'additional_js' => [
'vendor/litepie/js/tinymce.min.js',
],
Troubleshooting: Specified key was too long error. If you see this error message you have an outdated version of MySQL, use the following solution: https://laravel-news.com/laravel-5-4-key-too-long-error
And we're all good to go!
Start up a local development server with php artisan serve
And, visit http://localhost:8000/your/dashboard for akses admin page
Thanks to the control group