chuckbe / chuckcms
There is no license information available for the latest version (v0.1.48) of this package.
A lightweight Laravel CMS for easy control of a website.
v0.1.48
2021-01-18 19:11 UTC
Requires
- php: >=7.2.0
- barryvdh/laravel-dompdf: ^0.8.1
- laravel/framework: ~5.8||^6.0||^7.0.0
- mcamara/laravel-localization: ^1.3
- msurguy/honeypot: ^1.0
- spatie/eloquent-sortable: ^3.7
- spatie/laravel-permission: ^3.4
- spatie/laravel-sitemap: ^5.5
- spatie/laravel-translatable: ^4.2
- unisharp/laravel-filemanager: ^1.8
- dev-master
- v0.1.48
- v0.1.47
- v0.1.46
- v0.1.45
- v0.1.44
- v0.1.43
- v0.1.42
- v0.1.41
- v0.1.40
- v0.1.39
- v0.1.38
- v0.1.37
- v0.1.36
- v0.1.35
- v0.1.34
- v0.1.33
- v0.1.32
- v0.1.31
- v0.1.30
- v0.1.29
- v0.1.28
- v0.1.27
- v0.1.26
- v0.1.25
- v0.1.24
- v0.1.23
- v0.1.22
- v0.1.21
- v0.1.20
- v0.1.19
- v0.1.18
- v0.1.17
- v0.1.16
- v0.1.15
- v0.1.14
- v0.1.13
- v0.1.12
- v0.1.11
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1-beta.7
- v0.1-beta.6
- v0.1-beta.5
- v0.1-beta.4
- v0.1-beta.1
- v0.1-beta
- dev-newlayout
- dev-development
This package is auto-updated.
Last update: 2021-02-15 10:12:37 UTC
README
Instructions
How to use these instructions?
ChuckCMS was created to add CMS functionality to an existing Laravel project. The package will take over all incoming routes except for existing one you might have for custom functionality. ChuckCMS will work best in a fresh installation, this package is not created for adding it to existing projects.
Installation guide
Install with composer
composer require chuckbe/chuckcms
Publish public assets
php artisan vendor:publish --tag=chuckcms-public --force
php artisan vendor:publish --tag=lfm_public //Laravel Filemanager by UniSharp
Eventually publish config files
php artisan vendor:publish --tag=chuckcms-config --force
Add Permission middleware from the Spatie package
// App\Http\Kernel.php protected $routeMiddleware = [ ... 'role' => \Spatie\Permission\Middlewares\RoleMiddleware::class, 'permission' => \Spatie\Permission\Middlewares\PermissionMiddleware::class, 'role_or_permission' => \Spatie\Permission\Middlewares\RoleOrPermissionMiddleware::class, ];
Migrate the database
php artisan migrate
Generate a new site with following command
php artisan chuckcms:generate-site
Generate all default roles and permission
php artisan chuckcms:generate-roles-permissions
Make a new super admin with following command
php artisan chuckcms:generate-super-admin
Go to http://yourapp.local/dashboard/pages
Create a new page
Generate a sitemap
php artisan chuckcms:generate-sitemap