Download the PHP package selenesoftware/cms-bundle without Composer
On this page you can find all versions of the php package selenesoftware/cms-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download selenesoftware/cms-bundle
More information about selenesoftware/cms-bundle
Files in selenesoftware/cms-bundle
Package cms-bundle
Short Description CMS platform for Symfony
License MIT
Homepage https://github.com/SeleneSoftware/seleneCMSBundle
Informations about the package cms-bundle
SeleneCMS Bundle
This is a bundle for the Symfony Web Framework. As such, installing requires a few needed steps. First, have an updated version of the Composer Package Manager installed on your system.
Installation
This bundle enables CMS functionality on a Symfony site. This requires a few instalation steps, hopefully the Symfony Flex took care of them, but here are the steps.
If you are using Symfony Flex, as you should be, just run this composer command in your project:
The Recipe will install the necessary Controllers and configurations so that you can just get started.
If you aren't using Flex, you will need to add the following line:
Then you will need several controllers that extend the controllers in the bundle:
You will need to create a few templates for your new site.
Once the bundle is installed, run whatever you need for your database.
This will install the following routes in your application: /blog /blog/{entry} /register /login /admin
Usage
Content is managed in the backend when a Twig extension is used. The name of the block will appear in the admin panel on first load and give the ability to change the data inside the tag. To create a content block with the title "selene", use the following tag.
Images also have a content block. If an image has been uploaded in the sytem, a slug is generated that will load the url of that image. If the image hasn't been uploaded yet, the url given will be used as a default.
This also installs settings, which are true/false or on/off. To use one of those, use the following tag:
Settings by default are false, so the first time that is loaded on the site, the stuff in between will not show.
The wonderful thing about content and setting tags is the default setting. You don't have to create them in the admin panel to create one. Just program it in your Twig template and it will appear on your admin panel the first time it is rendered. From there, you can change them however you want. And if you need to use the same content in different places, you can do just that.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
All versions of cms-bundle with dependencies
twig/extra-bundle Version ^3.4
twig/markdown-extra Version ^3.4
twig/twig Version ^2.12|^3.0
symfony/security-bundle Version ^6.4|^7.0|^7.1
symfony/security-csrf Version ^6.4|^7.0|^7.1
symfony/form Version ^6.4|^7.0|^7.1
symfony/mime Version ^6.3|^6.4|^7.0|^7.1
easycorp/easyadmin-bundle Version ^4.4
league/commonmark Version ^2.3
presta/sitemap-bundle Version ^4.0
doctrine/doctrine-bundle Version ^2.12
doctrine/orm Version ^3.2
symfony/orm-pack Version ^2.3
symfonycasts/reset-password-bundle Version ^1.22
symfony/ux-turbo Version ^2.18
symfony/ux-twig-component Version ^2.18
symfony/ux-toggle-password Version ^2.18
eckinox/tinymce-bundle Version ^1.1
symfony/expression-language Version ^6.4|^7.0|^7.1
symfony/mailer Version ^6.4|^7.0|^7.1