Download the PHP package insomnia/cms without Composer
On this page you can find all versions of the php package insomnia/cms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package cms
INSOMNIA CMS
NOTE: This package is for Laravel 4.2
INSTALL
Add this to composer.json and run composer update
:
Open config/app.php
and add the following to the providers
section:
'Insomnia\Cms\CmsServiceProvider'
Configure database connection, and then run the command:
Access to /cms
URL and login with:
username: admin / password: admin
PAGE TYPES EXAMPLES
Example of a page that allow config a Datasource (require a controller in the project to get the data and pass to the view)
Add a new record into pages_types
table and put this JSON on config
column:
This allow to create a controller in the laravel project and get items from database like this:
and return to the view:
Example of a page with Subtitle, Text content, Image, and allow to choose the view template
Add a new record into pages_types
table and put this JSON on config
column:
Example of a page that creates a Datasource component and associates it with the page
Add a new record into pages_types
table and put this JSON on config
column:
-
areas (fields listed on page edition)
- name (field identifier - to use on frontend)
- field (field config)
- name (label visible in page edition)
- description (description visible in page edition)
- datatype (id of the field type - text / combobox / upload / ... - check
datasources_fieldtypes
table) - size (bootstrap col size)
- multilang (if 1, the system allow translate the field)
- admin (if 1, the field is only visible to admin)
- parameters (in some cases, the field type require values to choose - like a combobox)
- values
- settings (fields listed on right side of page edition)
- name (field identifier - to use on frontend)
- field (field config)
- name (label visible in page edition)
- description (description visible in page edition)
- datatype (id of the field type - text / combobox / upload / ... - check
datasources_fieldtypes
table) - size (bootstrap col size)
- parameters (in some cases, the field type require values to choose - like a combobox)
- values
OTHER CONFIGS
Show component shortcut on page edition
- In
datasource_page
table add the id of the pagepage_id
and the component iddatasource_id
All versions of cms with dependencies
illuminate/support Version 4.2.*
intervention/image Version dev-master
intervention/imagecache Version 2.3.3
barryvdh/laravel-elfinder Version 0.2.@dev
cartalyst/sentry Version 2.1.*
stevenmaguire/oauth2-keycloak Version ^2.1
guzzlehttp/psr7 Version ~1.1