Download the PHP package sinevia/laravel-cms without Composer
On this page you can find all versions of the php package sinevia/laravel-cms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sinevia/laravel-cms
More information about sinevia/laravel-cms
Files in sinevia/laravel-cms
Package laravel-cms
Short Description Content Management System for Laravel
License proprietary
Homepage https://github.com/Sinevia/Cms
Informations about the package laravel-cms
Laravel CMS
A "plug-and-play" content managing system (CMS) for Laravel that does its job and stays out of your way.
Introduction
All of the existing Laravel CMS (OctoberCms, AsgardCms, PyroCms, etc) require a full installations from scratch. Its impossible to just add them to an exiting Laravel application, and even when added feel like you don't get what you hoped for.
This package allows to add a content management system as a package dependency in your composer file, which can be easily updated or removed as required to ANY Laravel app. It is fully self contained, and does not require any additional packages or dependencies. Removal is also a breeze just remove from your composer file.
Features
- Templates (aka master layouts)
- Pages (web pages)
- Blocks (reusable cutom pieces of code -- headers, footers)
- Widgets (dynamic reusable pre-defined components)
Installation (est. 5-10 mins)
-
Install required library
- Install the CMS
Word of warning. Do use a stable package, as "dev-master" is a work in progress.
Uninstall (est. 5 mins)
Removal of the package is a breeze:
Optionally, delete the CMS tables (all which start with the snvcms prefix)
Configuration
After running the vendor:publish command, the CMS settings will be published in the /config/cms.php config file. Check these out, and modify according to your taste
Route Settings
-
CMS Endpoint (public, catch all)
- Admin endpoint (private, protect with middleware)
Templates
The templates are layouts, that can be used to display the pages in a uniform fashion. You may have multiple templates which is useful if you want to have different "look and feel" for different sections of your website.
Pages
The pages are the content which displays when you visit a specified URL. Each page may have an optional parent template, which can specify common elements (i.e. style sheets, scripts, etc) for all pages sharing the template.
Blocks
The blocks are small content snippets which can be embedded into pages and templates. Useful if you want to use on multiple pages, or to make pages more lightweight.
To embed in page or template use a shortcode like this: [[BLOCK_20180509052702261348]]
Widgets
The widgets are predefined dynamic modules which can be embedded into pages and templates (i.e. Google Maps, Contact Forms, etc). Depending on the action they perform, these may or may not have optional or requred parameters. Each widget files reside in its own directory.
To embed in page or template use a shortcode like this: [[WIDGET_20180509052702261348]]
More info: https://github.com/Sinevia/laravel-cms/wiki/Widgets
Human Friendly Aliases
The following shortcuts can be used to create human friendly page aliases, that can be used for pages with dynamic content
Shortcut | Regex |
---|---|
:any | ([^/]+) |
:num | ([0-9]+) |
:all | (.*) |
:string | ([a-zA-Z]+) |
:number | ([0-9]+) |
:numeric | ([0-9-.]+) |
:alpha' | ([a-zA-Z0-9-_]+) |
Example page alias: /article/:num/:string
To retrieve back you may use the following snippet
Quick Snippets
- Advanced usage. Use the CMS templates to wrap around custom code with blade templates:
Screenshots
1. Page Manager
2. Create New Page
3. Edit Page. Content View
4. Edit Page. SEO View
5. Speed Test (before additional speed improvements)
Changelog
2021.07.05 - Added support for Bootstrap 5
Alternatives
- LavaLite - requires full project from scratch, cannot be embedded in existing project as package
- OctoberCms - requires full project from scratch, cannot be embedded in existing project as package
- TypiCms - requires full project from scratch, cannot be embedded in existing project as package
- PyroCMS - requires full project from scratch, cannot be embedded in existing project as package
- Laravel8SimpleCms - requires full project from scratch, cannot be embedded in existing project as package
- Winter - requires full project from scratch, cannot be embedded in existing project as package
- GraphiteInc CMS - Archived
- Twil