Installing the Sonata's sandbox can be a frustrating effort due to different issues: composer memory issue, slow connection, wrong composer definitions, wrong php configuration, dev vs stable release, etc...
This does not only affect the Sonata Project, but any large projet using multiple bundles or libraries from different vendors.
We have been working on improving the developer experience:
- Add a custom mandatory check, so if you don't have
gdthe install process will tell you what to do.
- Simplify the
load_php.phpoutput to be less verbose but also explain what the code does.
- Creating a build repository containing the code with vendors so you don't have to wait for composer, just configure the sandbox and you are free to go.
The build is available at https://github.com/sonata-project/sandbox-build. 2 branches are availables:
- the dev release: https://github.com/sonata-project/sandbox-build/tree/2.4
- the stable release: https://github.com/sonata-project/sandbox-build/tree/2.3
The new installation process is now:
curl -L github https://github.com/sonata-project/sandbox-build/archive/2.4.tar.gz | tar xzv cp app/config/parameters.yml.dist app/config/parameters.yml vim app/config/parameters.yml # edit the database settings php bin/load_data.php
The 2.4 release includes all dev versions of Sonata's bundles, those bundles are almost stable. We even use them currently on this website.