Development tools
PHP HTML CSS Shell ApacheConf
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
src
web
.gitignore
LICENSE
README.rst
deps
deps.lock
install.sh

README.rst

DEV-TOOLBOX

What's inside?

dev-toolbox contains some developers tools:

  • Regex Test: Test your regex quickly
  • XML Indent: Indent and colorize an unreadable XML

Installation from Git

The easiest way to get started is to clone the project from git.

When you're done, the only thing you have to do is installing vendors using:

php bin/vendors install

Run the following commands:

git clone http://github.com/symfony/symfony-standard.git cd symfony-standard rm -rf .git php bin/vendors install

Note

Symfony SE does/can not use git submodules as you should not keep the .git directory.

Configuration

Check that everything is working fine by going to the web/config.php page in a browser and follow the instructions.

The distribution is configured with the following defaults:

  • Twig is the only configured template engine;
  • Doctrine ORM/DBAL is configured;
  • Swiftmailer is configured;
  • Annotations for everything are enabled.

A default bundle, AcmeDemoBundle, shows you Symfony2 in action. After playing with it, you can remove it by following these steps:

  • delete the src/Acme directory;
  • remove the routing entries referencing AcmeBundle in app/config/routing_dev.yml;
  • remove the AcmeBundle from the registered bundles in app/AppKernel.php;

Configure the distribution by editing app/config/parameters.ini or by accessing web/config.php in a browser.

A simple controller is configured at /hello/{name}. Access it via web/app_dev.php/demo/hello/Fabien.

If you want to use the CLI, a console application is available at app/console. Check first that your PHP is correctly configured for the CLI by running app/check.php.

Enjoy!