Company Site
Welcome to the "Company Site" based on Symfony2 application that you can use as the skeleton for your new company site.
1) Installing Use Composer
As Company Site uses Composer to manage its dependencies, the recommended way to create a new site is to 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
Then, use the create-project command to generate a new Symfony application:
php composer.phar create-project fdevs/company-site path/to/install
Composer will install Company Site and all its dependencies under the
path/to/install directory.
2) Browsing the Demo data
Load Fixtures Data
bin/console doctrine:mongodb:fixtures:load
add cron task for send emails
3) Getting started with Symfony
Once you're feeling good, you can move onto reading the official Symfony2 book.
A default bundle, FdevsCoreBundle, shows yours homepage. After
playing with it, you can remove it by following these steps:
- modify design in the
src/FDevs/CoreBundle/Resources/views/Default/index.html.twigfile;
What's inside?
The Symfony Standard Edition is configured with the following defaults:
Twig is the only configured template engine;
Doctrine MongoDB is configured;
Swiftmailer is configured;
Annotations for everything are enabled.
It comes pre-configured with the following bundles:
FrameworkBundle - The core Symfony framework bundle
SensioFrameworkExtraBundle - Adds several enhancements, including template and routing annotation capability
DoctrineBundle - Adds support for the Doctrine MongoDB
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
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
FDevsCoreBundle - A demo bundle with some example code/template
FDevsTeamBundle - A user bundle with some example code/template
FDevsBlockBundle - A block bundle to edit static blocks
FDevsCatalogBundle - A catalog bundle to display profile
FDevsContactUsBundle - A Contact Us bundle to feedback form and send email
FDevsFileBundle - Add functionality for uploads file
FDevsPageBundle - Add functionality localizate page
FDevsTagBundle - Add functionality tags information
All libraries and bundles included in the "Company Site" are released under the MIT or BSD license.
Enjoy!