coolcsn / csn-cms
CMS based on DoctrineORMModule
Installs: 1 185
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 5
Forks: 11
Open Issues: 1
Requires
- php: >=5.3.3
- coolcsn/csn-authorization: dev-master
- doctrine/doctrine-orm-module: >=0.7
This package is not auto-updated.
Last update: 2025-04-22 07:54:37 UTC
README
Zend Framework 2 Module
What is CsnCms?
CsnCms is a Content Management System module based on DoctrineORMModule
, CsnUser
authentication and CsnAuthorization
.
What exactly does CsnCms do?
CsnCms has been created with educational purposes to demonstrate how CMS can be done. It is fully functional, working in perfect harmony with Doctrine and the other Csn modules.
Installation
-
Installation via composer is supported, simply run (make sure you've set
"minimum-stability": "dev"
in your composer.json file):php composer.phar require coolcsn/csn-cms:dev-master
-
Configure referenced modules (CsnUser and CsnAuthorization) following their instructions.
-
Add 'CsnCms' to your application configuration in
config/application.config.php
. An example application configuration could look like the following:
'modules' => array(
'Application',
'DoctrineModule',
'DoctrineORMModule',
'CsnUser',
'CsnAuthorization',
'CsnCms'
)
- Run
./vendor/bin/doctrine-module orm:schema-tool:update
to update the database schema (Note: You may need to force the update by adding--force
to the command). Then import the sample data located in./vendor/coolcsn/CsnCms/data/SampleData.sql
. You can easily do that with PhpMyAdmin for instance.
We are done, uh?
Navigate to [hostname]/csn-cms. Enjoy :)
Dependencies
This Module depends on the following Modules:
- DoctrineORMModule
- CsnUser
- CsnAuthorization
Recommends
- coolcsn/CsnUser - Authentication (login, registration) module.
- coolcsn/CsnAuthorization - Authorization module.
- coolcsn/CsnAclNavigation - Navigation module;