Download the PHP package ugie-cake/cakephp without Composer
On this page you can find all versions of the php package ugie-cake/cakephp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ugie-cake/cakephp
More information about ugie-cake/cakephp
Files in ugie-cake/cakephp
Package cakephp
Short Description UGIE CakePHP skeleton app with Authentication and CMS
License MIT
Homepage https://cakephp.org
Informations about the package cakephp
CMS + Authentication Setup
Please visit the IE Repository for any preparation steps required.
To begin, import schema.sql
into your SQL database. This can be done via PHPMyAdmin, you can find a guide on how to do it here.
Don't forget to run composer install
if you are cloning from this repository!!!!!!!
Read and edit the environment specific config/app_local.php and set up the 'Datasources'.
Define content blocks
Prior to showing content in your templates, you must first define what blocks are available.
This is done by inserting records into the content_blocks
table, which is most easily done via Seeds.
Here is an example seed to create one content block of each type (html
, text
, and image
):
Insert defined content blocks into database
Once you have defined your content blocks in a seed (see above), then you can run the "Seed" to create the records in the database:
Use content blocks in views
Instead of hard coding content into views, output relevant content blocks. This means that administrators never need to make code changes (or employ someone to make code changes) if they require changes to most parts of the template.
This is done using the relevant ContentBlocksHelper
functions:
Reference
HTML Block
Adding a HTML block
Add a new record to the content_blocks
table with a type
of html
.
Rendering a HTML block
In a layout or view template, add the following:
Text Block
Adding an text block
Add a new record to the content_blocks
table with a type
of text
.
Image Block
Adding an image block
Add a new record to the content_blocks
table with a type
of image
.
CakePHP Application Skeleton
A skeleton for creating applications with CakePHP 5.x, modified to include Authentication and CMS.
The framework source code can be found here: cakephp/cakephp.
Update
Since this skeleton is a starting point for your application and various files would have been modified as per your needs, there isn't a way to provide automated upgrades, so you have to do any updates manually.
Configuration
Read and edit the environment specific config/app_local.php
and set up the
'Datasources'
and any other configuration relevant for your application.
Other environment agnostic settings can be changed in config/app.php
.
Layout
The app skeleton uses Milligram (v1.3) minimalist CSS framework by default. You can, however, replace it with any other library or custom styles.
All versions of cakephp with dependencies
ext-json Version *
cakephp/authentication Version ^3.1
cakephp/cakephp Version ^5.0.1
cakephp/migrations Version ^4.0.0
cakephp/plugin-installer Version ^2.0
ezyang/htmlpurifier Version ^4.17
mobiledetect/mobiledetectlib Version ^4.8.03