vvvkor/laravel-cms-base is a Laravel package for minimalist cms for laravel.
It currently has 1 GitHub stars and 15 downloads on Packagist (latest version 2.1.1).
Install it with composer require vvvkor/laravel-cms-base.
Discover more Laravel packages by vvvkor
or browse all Laravel packages to compare alternatives.
Last updated
Minimalist CMS for Laravel
users extended from standard Laravel authentication and sections for pages, articles, files.Cms facade and cms() helper function.SectionRepository.UserPolicy, SectionPolicy).CheckUserRole and CachePages.intervention/image.bootstrap classes.In short: configure database then run:
$ php artisan make:auth
$ composer require vvvkor/laravel-cms-base
$ php artisan migrate
$ php artisan make:cms
Set parameters in .env or config/database.php files of your project.
Depending on DBMS version (MySQL < 5.7.7.), you may need to fix string length .
$ php artisan make:auth
$ composer require vvvkor/laravel-cms-base
In config/app.php add to providers section
vvvkor\cms\cmsServiceProvider::class,
and to aliases section
'Cms' => vvvkor\cms\Facades\Cms::class,
$ php artisan migrate
To add routes to routes/web.php run
$ php artisan make:cms
or add manually to routes/web.php
Cms::routes();
Copy stuff to your app if you want to modify it.
Views are marked with Bootstrap classes.
$ php artisan vendor:publish --provider=vvvkor\laravel-cms-base\CmsServiceProvider
You can use CKEditor for visual formatting of texts.
$ composer require unisharp/laravel-ckeditor
In config/app.php add to providers section
Unisharp\Ckeditor\ServiceProvider::class,
Publish assets
$ php artisan vendor:publish --tag=ckeditor
[email protected] and password admin.[email protected] and password reader.Sections and Users.