Giter Club home page Giter Club logo

qb-symfony-minimal's Introduction

Symfony Minimal Edition

This is the Symfony Minimal Edition - a minimally-functional Symfony application that you can use as the skeleton for your new applications.

The Symfony Minimal Edition uses the package vlucas/phpdotenv to add Twelve Factor app compatibility, simplyfing configuration. This allows to get rid of the different front controller files based on environment.

Add your application configuration to a .env file in the root of your project containing key-value pairs of environment variables :

SYMFONY_ENV=dev
SYMFONY_DEBUG=1
SYMFONY__SECRET=ThisTokenIsNotSoSecretChangeIt
SYMFONY__MONOLOG_ACTION_LEVEL=debug

Note: Symfony will grab any environment variable prefixed with SYMFONY__ and set it as a parameter in the service container. For details see How to Set external Parameters in the Service Container chapter of the Symfony Documentation.

What's inside?

The Symfony Minimal Edition is configured with the following defaults:

  • An AppBundle you can use to start coding;

  • Twig as the only configured template engine;

It comes pre-configured with the following bundles:

  • FrameworkBundle - The core Symfony framework bundle

  • TwigBundle - Adds support for the Twig templating engine

  • MonologBundle - Adds support for Monolog, a logging library

  • WebProfilerBundle (in dev/test env) - Adds profiling functionality and the web debug toolbar

  • DebugBundle (in dev/test env) - Adds Debug and VarDumper component integration

Installation

Use Composer to create a new application:

composer create-project qb/symfony-minimal-edition path/to/install "v1.0.1"

Credits

qb-symfony-minimal's People

Contributors

quentin-berlemont avatar

Watchers

James Cloos avatar  avatar

Forkers

upjoes

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.