All Projects → eddiejaoude → SymfonyQuickStart

eddiejaoude / SymfonyQuickStart

Licence: MIT license
Symfony 2 QuickStart with Best Practice tools including Behat 3, PHPSpec 2, PHPUnit 4 & Twitter Bootstrap 3, TravisCI & Heroku

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects
Gherkin
971 projects
ApacheConf
554 projects
Makefile
30231 projects

DashboardHub Badge

Join the chat at https://gitter.im/eddiejaoude/SymfonyQuickStart

--------- master develop feature
Build Build Status --- ---
Coverage Code Coverage --- ---
Analysis Scrutinizer Code Quality --- ---
json deps Dependency Status --- ---
lock deps Dependency Status --- ---

Symfony QuickStart

Latest deploy (inc. branches) https://symfony-quickstart.herokuapp.com/en/

Note: if you get an error, wait a minute & try again (refresh the page), the Application is probably deploying out or has gone to sleep.

Table of Contents

Screenshots

homepage

login

register

register-fr

Setup

  1. Install dependencies
php composer.phar install
  1. Update parameters
/app/config/parameters_dev.yml

Database parameters are important: host, username, password etc...

Run app

  1. make dev.run

Optionally add a branch / release tag make dev.run branch=feature/story-123

This will run the following:

  • Switch to branch / release tag if requested
  • Install any/all dependencies (composer install)
  • Rebuild the database with fixtures
  • Start WebServer
  1. Then go to http://localhost:8000

Run full test suite in parallel

make test.run

Output

...
30 scenarios (30 passed)
206 steps (206 passed)
0m13.12s (48.85Mb)
...
6 specs
16 examples (16 passed)
1132ms

Generating code coverage report in html format ...
Generating code coverage report in clover format ...
...
OK (4 tests, 3 assertions)

This Rebuild the database & will run the commands below.

Behat command (using config in test/behat.yml)

make symfony.test.bdd

PHPSpec

make symfony.test.spec

PHPUnit

make symfony.test.unit

Rebuild database

Reference

make symfony.dev.rebuild

These commands are only wrappers, you can still use the original commands if you wish.

More information on commands available visit Make CMDs lib



Contributions

Please read on Contribution Guildlines

Bitdeli Badge

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].