the "Symfony Standard Edition" distribution with the networking init CMS bundle configured
Open Issues: 24
- php: ^7.2
- ext-ctype: *
- ext-iconv: *
- ext-json: *
- networking/form-generator-bundle: ^4.0
- networking/init-cms-bundle: ^4.1
- symfony/dotenv: 4.4.*
- symfony/flex: ^1.4
This package is auto-updated.
Last update: 2023-06-05 06:10:03 UTC
Welcome to the init CMS Sandbox. This will get you started with a working CMS based on the InitCmsBundle and Symfony 2.
The InitCmsBundle is a small flexible cms core based on symfony 2 which can be used as a standalone CMS or integrated into any existing symfony 2 project.
The main features are:
- Page manager with draft and published states, as well as public or protected (login only) pages, and customised URLs
- Menu manager to organise multiple menu bars
- Media manager and gallery manager
- User manager with ACL access control
- Help page manager
- Integrate your own twig templates
- Create your own content types
- Based on the SonataAdminBundle so you can easily create your own admin modules
Find more information about the init CMS on www.initcms.com.
A demo of the CMS can be found at demo.initcms.com. The Demo is reset every 24 hours.
The installation of the sandbox is pretty much the same as a normal installation of Symfony project.
This document contains information on how to download, install, and start using the networking init CMS sandbox. For a more detailed explanation on install Symfony, see the Installation chapter of the Symfony Documentation.
The project is being developed by the small hard working team at net working AG in Zürich.
- Installing the networking init CMS sandbox
For the moment you will need to download an archive, then run composer to install the dependencies. We will soon have the project on packagist, after that you will be able to use the create-project command.
Download an Archive File
First download and unpack the archive of the sandbox in your preferred location
Or use composer to create the project
composer create-project networking/init-cms-sandbox project_folder 3.4.*
Then change into the project directory
Create a parameters.yml file:
cp app/config/parameters.yml.dist app/config/parameters.yml
Use Composer (recommended)
As Symfony uses Composer to manage its dependencies, which is why we also use it.
If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:
curl -s http://getcomposer.org/installer | php
Composer will install the networking init CMS and all its dependencies under the
Now you will need to install the dependencies, the following command will fill the vendors folder with all the working guts in accordance with the versions defined in the composer.lock file:
php composer.phar install
Now we just need to create some folders for our media in the web root directory and make it RW+
mkdir web/uploads web/uploads/media chmod -R 777 web/uploads
Make cache and logs writeable
chmod -R 777 var/cache var/logs
- Checking your System Configuration
Before starting coding, make sure that your local system is properly configured for Symfony.
symfony_requirements script from the command line:
config.php script from a browser:
If you get any warnings or recommendations, fix them before moving on.
If all is good, you can move on to configuring the DB set up by clicking the "Configure your Symfony Application online" link, or by editing the paramters.yml file directly
- Run the networking init CMS installation
Now that the symfony application is more or less setup, it is time to load the CMS DBs and fixtures, as well as create an admin user.
You can run the install process on the command line, you will be prompted to enter a username, email address and password, these will get you into the backend.
php bin/console networking:initcms:install
Alternatively there is an install wizard which will get this done for you, just go to the following URL and follow the instructions:
Now you should be up and running.
The installer also executes assetic, which gets your assetic assets organised by doing an assetic dump (we use less so please check you have it setup already)
Maybe you have to install less, if you do not have it already. On OS X get homebrew, get node, get less
brew install npm sudo npm install less --global
- Login to the admin area
It should now be possible to login to the backend admin interface of the project. Just navigate to:
Enter your username and password as entered in step 3 and you should be directed to the admin dashboard.
Further documentation about the initcms
You can find more information about configuring and extend the initcms online, just follow the links
- InitCmsBundle installation
- Configuring your cms
- Creating templates
- Creating custom content types
- Creating an Admin user interface
- Creating custom admin settings
The networking init CMS is based on a Symfony Standard Edition base plus a bit more
The sonata-admin bundle is the basis for the admin area
The routing of dynamic content is based on the Symfony CMF dynamic routing component
The Mopa bootstrap bundle for some twitter bootstrap goodness in the front end.
Twig is the only configured template engine;
Doctrine ORM/DBAL is configured;
Swiftmailer is configured;
Annotations for everything are enabled.
It comes pre-configured with the following bundles:
SonataAdminBundle The missing Symfony2 Admin Generator
SymfonyCmfRoutingExtraBundle Symfony CMF Routing Extra Bundle capabilities
MopaBootstrapBundle MopaBootstrapBundle is a collection of code to integrate twitter's bootstrap into your symfony2 project
FrameworkBundle - The core Symfony framework bundle
SensioFrameworkExtraBundle - Adds several enhancements, including template and routing annotation capability
DoctrineBundle - Adds support for the Doctrine ORM
TwigBundle - Adds support for the Twig templating engine
SecurityBundle - Adds security by integrating Symfony's security component
SwiftmailerBundle - Adds support for Swiftmailer, a library for sending emails
MonologBundle - Adds support for Monolog, a logging library
AsseticBundle - Adds support for Assetic, an asset processing library
JMSSecurityExtraBundle - Allows security to be added via annotations
JMSDiExtraBundle - Adds more powerful dependency injection features
WebProfilerBundle (in dev/test env) - Adds profiling functionality and the web debug toolbar
SensioDistributionBundle (in dev/test env) - Adds functionality for configuring and working with Symfony distributions
SensioGeneratorBundle (in dev/test env) - Adds code generation capabilities
[IbrowsSonataTranslationBundle] - Adds a DB based UI for working with translations, integrated with in a SonataAdmin setup.
[IbrowsSonataAdminAnnotationBundle] - Adds the ability to defined form fields via annotations to be used in conjuction with the SonataAdminBundle