ken/laravel-voyager-blog

Create a blog very easy with litepie Blog & laravel voyager

0.6 2017-11-03 14:09 UTC

This package is auto-updated.

Last update: 2024-04-09 07:54:05 UTC


README

68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f746865636f6e74726f6c67726f75702f766f79616765722e706e67

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/

68747470733a2f2f692e696d6775722e636f6d2f795650333972512e706e67

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