Download the PHP package vvvkor/laravel-cms-base without Composer
On this page you can find all versions of the php package vvvkor/laravel-cms-base. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vvvkor/laravel-cms-base
More information about vvvkor/laravel-cms-base
Files in vvvkor/laravel-cms-base
Package laravel-cms-base
Short Description Minimalist CMS for Laravel
License MIT
Homepage https://github.com/vvvkor/laravel-cms-base
Informations about the package laravel-cms-base
cms
Minimalist CMS for Laravel
Features
- Lightweight
- Minimal footprint (just one additional table in database)
- Manage users
- Profile page
- Manage pages ("sections") hierarchy (view as table or as nested list)
- Public and protected pages (and attached files)
- Publication can be planned for future
- Many articles per page
- Many uploads per article
- Localizable (english and russian translations icluded)
- Uses standard Laravel authentication
- Ready to use WYSIWYG CKEditor
- Cache pages
- Image thumbnails (also cached)
Developer info
- Uses two database tables:
users
extended from standard Laravel authentication andsections
for pages, articles, files. - Database migrations included.
Cms
facade andcms()
helper function.- Repository of sections
SectionRepository
. - Policies for managing users and sections (
UserPolicy
,SectionPolicy
). - Middleware:
CheckUserRole
andCachePages
. - Thumbnails generated and cached with
intervention/image
. - Views marked up with
bootstrap
classes.
Install
In short: configure database then run:
Configure database (if you have not alredy)
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 .
Enable authorization (if you have not alredy)
Require CMS package
Add service provider (if auto-discovery is disabled)
In config/app.php
add to providers
section
and to aliases
section
Migrate tables with default data
Add CMS routes
To add routes to routes/web.php
run
or add manually to routes/web.php
Publish views, translations, config (optional)
Copy stuff to your app if you want to modify it.
Views are marked with Bootstrap classes.
Use WYSIWYG CKEditor (optional)
You can use CKEditor for visual formatting of texts.
In config/app.php
add to providers
section
Publish assets
Usage
- Using browser go to home page of your project.
- Log in as administrator with e-mail
[email protected]
and passwordadmin
. - Or as privileged reader with e-mail
[email protected]
and passwordreader
. - Go to home page again.
- For administrator, on top of page there are links to manage
Sections
andUsers
. - For reader, there is a link to a protected page in top menu.
All versions of laravel-cms-base with dependencies
illuminate/support Version ^5.1
intervention/image Version ^2.4
intervention/imagecache Version ^2.3