lilianbellini/plugincmslaravel is a Laravel package for a cms plugin for laravel.
It currently has 0 GitHub stars and 14 downloads on Packagist (latest version 1.2.7).
Install it with composer require lilianbellini/plugincmslaravel.
Discover more Laravel packages by lilianbellini
or browse all Laravel packages to compare alternatives.
Last updated
This project is licensed under the MIT License. See the LICENSE file for details.
Add the package to your project: composer require systemin/plugincmslaravel
Run the database migrations: php artisan migrate
Seed the initial data for the CMS: php artisan plugin-cms:seed
Install Bootstrap Icons: npm i bootstrap-icons
Create a public directory for CMS assets: mkdir public/assets
Copy the CMS assets to the public directory: cp -r vendor/systemin/plugincmslaravel/assets/cms public/assets
In your app/Models/User.php, add the UserTrait:
use LilianBellini\PluginCmsLaravel\Traits\UserTrait; // Import the trait
class User extends Authenticatable { use UserTrait; // Include the trait
// Add the following attributes to the fillable array:
protected $fillable = [
'role_id',
'avatar',
'bio',
// Other attributes
];
}
In the config/app.php file, add the following:
'langages' => ['fr', 'en'],
In your resources/css/app.css file, import the CMS styles:
@import '../../vendor/systemin/plugincmslaravel/resources/css/main.css';
Follow these steps to fully integrate the CMS into your Laravel project.