Welcome to the Chistes App - Symfony Standard Edition - a fully-functional Symfony application that you can use as the skeleton for your new applications.
In addition it comes whith a sample CRUD bundle made by TDD and repository pattern, as example.
For details on how to download and get started with Symfony, see the Installation chapter of the Symfony Documentation.
To run application foolow installation instructions below.
-
Clone this repository:
git clone git@github.com:kpicaza/ChistesApp.git chistesapp
-
Create new database, for example:
mysql -u root -p create database chistesapp; \q
-
Install dependencies by composer (After instaling dependencies composer will prompt some comfiguration params):
composer install
-
Update database schema and load data fixtures for testing
php bin/console doctrine:schema:update --force php bin/console doctrine:fixtures:load -n php bin/console doctrine:database:create --env=test php bin/console doctrine:schema:update --force --env=test php bin/console doctrine:fixtures:load -n --env=test
-
Run tests:
phpunit --coverage-text
The Symfony Standard Edition is configured with the following defaults:
-
An AppBundle you can use to start coding;
-
Twig as the only configured template engine;
-
Doctrine ORM/DBAL;
-
Swiftmailer;
-
Annotations enabled for everything.
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 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
-
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
-
DebugBundle (in dev/test env) - Adds Debug and VarDumper component integration
All libraries and bundles included in the Symfony Standard Edition are released under the MIT or BSD license.
Enjoy!