Download the PHP package fbollon/lara-cms-lite without Composer
On this page you can find all versions of the php package fbollon/lara-cms-lite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fbollon/lara-cms-lite
More information about fbollon/lara-cms-lite
Files in fbollon/lara-cms-lite
Package lara-cms-lite
Short Description Content management system lite for Laravel app
License MIT
Homepage https://github.com/fbollon/lara-cms-lite
Informations about the package lara-cms-lite
Lightweight content manager package for Laravel applications
Lara-cms-lite was created to allow some users to add and manage content on predefined business application pages in intranet, this avoids having to modify the application source code to change a text on a home page or other. We could also use this package to add a news-style page or blog to existing application.
Installation
Laravel from 6.x
to 11.x
are supported.
You can install the package via composer:
Publish assets, config and views
- tinymce to public/vendor/tinymce
- lara-cms-lite config file and adjust values if needed in config/lara-cms-lite.php based on comments
- lara-cms-lite views to views/vendor/lara-cms-lite
Or publish by tags
To force publishing add
--force
flag.
Create required tables
A table named 'contents' will be created, if a table with the same name already exists in your app change value of 'table' in config/lara-cms-lite.php
Authorization
Add 1 method canManageLaraCmsLiteContent() to your \App\User file with your own logic
Define a gate in your App\Providers\AuthServiceProvider
Usage
Visit your application url : http://yourApplication/contents to start creating and managing content .
To display content in existing views of your application
In you default layout add this where you want to display content in your layout
Depending where you allow users to add content in yours methods controller add
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
Credits
- Frédéric Bollon
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
All versions of lara-cms-lite with dependencies
illuminate/support Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
tinymce/tinymce Version >= 5