Skip to content

deveres/laravel-cms

Repository files navigation

Laravel-cms

Laravel CMS based on encore/laravel-admin with multilanguage content

Build Status Total Downloads Latest Stable Version License

README

Requirements

  • nodejs, php >=7.2
  • Laravel 6.x, 7.x

Additional

Laravel-admin documentation

Installation

Create a new database with name laravel_cms_7 in MySql (v.8). The database dump is in storage/mysql_dump/dump.sql and you can import it:

mysql> create database `laravel_cms_7`;

mysql> use `laravel_cms_7`;

mysql> source storage/mysql_dump/dump.sql

Then install the project:

composer install
php artisan vendor:publish --provider="Jenky\LaravelPlupload\PluploadServiceProvider"
php artisan migrate 
npm install
npm run

Optional installation commands

Run this commands if want to reinstall encore/laravel-admin interface:

To publish assets and config:

php artisan vendor:publish --provider="Encore\Admin\AdminServiceProvider"

Finish install:

php artisan admin:install

Additional: php code check

  $ composer global require friendsofphp/php-cs-fixer
  $ export PATH="$PATH:$HOME/.composer/vendor/bin"

run:

php-cs-fixer --diff --dry-run -v fix app