Skip to content
Massimiliano Arione edited this page Dec 14, 2017 · 9 revisions

Welcome to the symfony-beelab wiki!

This project is meant to create a new Symfony project, using a newer directory structure. Currently, it allows:

  • to create a Symfony 2.8 project with Symfony 3 directory structure
  • to create a Symfony 3.4 with Symfony 4 directory structure

Setup

  • execute composer create-project beelab/symfony-beelab yourDir (where "yourDir" is the path of the directory where you want to create the project)
  • replace the content of README.md with your instructions for the project. This is important, since anyone should be able to be up&running on your project in (almost) zero time!
  • feel free to remove LICENSE, or to replace it with your license
  • replace the content of composer.json with your actual project name, description, authors, etc.
  • delete the build.xml file, or customize it (guide for CI coming soon)
  • replace "%customize%" with your project's repository name in deploy.rb, deploy/staging.rb, and production.rb under the app/config directory (for 2.8 version) or config directory (for 3.4 version). Of course, if you don't use Capifony for deploy, remove such files (as well as Capfile in the root directory)

Setup for Symfony 3.4

Execute the same steps above, using beelab/symfony-beelab:dev-sf4dir in the first step. In the last step, the configuration directory is config instead of app/config.

If you need translations, create a translations directory in the project root. Otherwise, remove the config/packages/translations.yaml file.

Clone this wiki locally