nord-ua / atom-cms-bundle
Simplest CMS ever.
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- symfony/framework-bundle: ~2.1
Requires (Dev)
- doctrine/mongodb-odm-bundle: 3.0.*@dev
- twig/twig: ~1.5
This package is auto-updated.
Last update: 2025-04-29 00:31:38 UTC
README
Symfony2 simplest CMS bundle.
There is no menus and structure, just dynamic pages and partials.
Pages shows when no other routing gets request. E.g. you can create page with url about
, and, if no other controllers can handle this request, page's content will be shown. Page can not content /
symbol yet. If you need it, feel free to contact me about this.
Installation
composer.json:
"require": {
...
"nord-ua/atom-cms-bundle": "2.0.*@dev",
....
}
AppKernel.php:
...
new NordUa\AtomCmsBundle\AtomCmsBundle(),
...
routing.yml (to the bottom)
...
atom_cms:
resource: "@AtomCmsBundle/Resources/config/routing.yml"
Usage
After installation go to /admin/cms
and create pages you need. If you need to include page's content as partial you can call {{ atom_cms_render('%page url here%') }}
inside any twig template.
That's it.