steelants / laravel-cms
Simple content management system for laravel
dev-main
2025-03-18 06:29 UTC
Requires
- laravel/framework: ^11.0|^12.0
- livewire/livewire: ^3.0
- steelants/datatable: ^2.0.2
- steelants/form: ^1.3.1
- steelants/modal: ^2.0.4
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.9
- phpunit/phpunit: 10.4
This package is not auto-updated.
Last update: 2025-04-02 04:47:02 UTC
README
Currently WIP
Created by: SteelAnts s.r.o.
Install
composer require steelants/laravel-cms
php artisan vendor:publish --tag=cms-migrations
php artisan migrate
Add to route file:
Route::cmsPublic(); //Public routes as Pages and so on Route::cmsAdmin(); //Admin crud Routes
Development
-
Create subfolder
/packages
at root of your laravel project -
clone repository to sub folder
/packages
(you need to be positioned at root of your laravel project in your terminal)
git clone https://github.com/steelants/Laravel-CMS.git ./packages/Laravel-CMS
- edit composer.json file
"autoload": { "psr-4": { "SteelAnts\\LaravelCMS\\": "packages/laravel-cms/src/" } }
- Add provider to
bootstrap/providers.php
return [ ... SteelAnts\LaravelCMS\CMSServiceProvider::class, ... ];
- use commands to aplicate changes
composer dump-autoload