/laravel-voyager-blog

Create a blog very easy with litepie Blog & laravel voyager

Primary LanguagePHPMIT LicenseMIT

Build Status Build Status Total Downloads Latest Stable Version License Awesome Voyager

Voyager - The Missing Laravel Admin

Made with ❤️ by The Control Group

Voyager Screenshot

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

Installation Steps

1. Require the Package

After creating your new Laravel application you can include the Voyager package with the following command:

composer require ken/laravel-voyager-blog

2. Add the DB Credentials & APP_URL

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,

3. Automaticly Install Voyager

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