-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Massimiliano Arione edited this page Jul 9, 2018
·
9 revisions
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
- 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. - replace "%customize%" with your project's repository name in
deploy.rb
,deploy/staging.rb
, andproduction.rb
under theapp/config
directory (for 2.8 version) orconfig
directory (for 3.4 version). Of course, if you don't use Capifony for deploy, remove such files (as well asCapfile
in the root directory)
Execute the same steps above, but changing the command in the first step: use composer create-project --prefer-dist --stability=dev beelab/symfony-beelab:dev-sf4dir yourDir
instead
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.