Sonata Sandbox build

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 curl, or png support for gd the install process will tell you what to do.
  • Simplify the load_php.php output 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 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.

Comments

  • Jack (Mar 29, 2015)
    Cool!
  • Nicolas (Mar 28, 2015)
    Hi guys, Can you make some recommandations in order to use with Symphony 2.6 or 2.3 ? Best regards
The comment form is closed for this current news.