Giter Site home page Giter Site logo

symfony-standard's Introduction

Symfony Standard Edition

What's inside?

Symfony Standard Edition comes pre-configured with the following bundles:

  • FrameworkBundle
  • SensioFrameworkExtraBundle
  • DoctrineBundle
  • TwigBundle
  • SwiftmailerBundle
  • MonologBundle
  • AsseticBundle
  • JMSSecurityExtraBundle
  • WebProfilerBundle (in dev/test env)
  • SensioDistributionBundle (in dev/test env)
  • SensioGeneratorBundle (in dev/test env)
  • AcmeDemoBundle (in dev/test env)

Installation from an Archive

The easiest way to get started is to download an archive with vendors included (http://symfony.com/download). Unpack it somewhere under your web server root directory and you're done.

If you have downloaded an archive without the vendors, you must have git available to install the vendors:

php bin/vendors install

Installation from Git

We highly recommend you that you download the packaged version of this distribution. If you still want to use Git, you are on your own.

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!

symfony-standard's People

Contributors

ajessu avatar arjona avatar brikou avatar craue avatar damienalexandre avatar denderello avatar fabpot avatar gregquat avatar havvg avatar kriswallsmith avatar lsmith77 avatar mridgway avatar mweimerskirch avatar phreaknerd avatar richardmiller-zz avatar richsage avatar schmittjoh avatar seldaek avatar stealth35 avatar stfalcon avatar stof avatar vicb avatar weaverryan avatar yosmanyga avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.