项目作者: nunopress

项目描述 :
(deprecated, SF4 exists now) Symfony 3 Micro Edition a stripped version of Symfony Standard Edition.
高级语言: PHP
项目地址: git://github.com/nunopress/sf-micro-edition.git
创建时间: 2016-10-24T14:52:45Z
项目社区:https://github.com/nunopress/sf-micro-edition

开源协议:MIT License

下载


Symfony Micro Edition

Welcome to the Symfony Micro Edition - a stripped version of Symfony Standard Edition that you can use as the
skeleton for your new Api/Small applications.

For install is really simple with Composer:

composer create-project nunopress/sf-micro-edition project_name

Difference from Standard Edition?

I made the stripped/small version of Standard Edition without some bundles and configuration’s.

In the few first releases I made a personal version of this with MicroKernel, but I get some feedback so I choose
to come back to the Standard Edition and stripped for make more simple and fast (with my benchmarks with the same
application get 50% run much fast
).

The result is really nice, fast response, same folders, same code (made only difference on Kernel) and you
ready to come back to standard edition easy, you need only to add into composer the other default packages and setup the configuration as well.

What’s inside?

The Symfony Micro Edition is configured with the following defaults:

  • Stripped Symfony AppKernel/AppCache;

  • An AppBundle you can use to start coding;

  • Twig as the only configured template engine;

  • Setup “locale” parameters on installation;

  • Http Cache/Class Cache enabled in production with base configuration;

  • Symfony Reverse Proxy enabled in production;

It comes pre-configured with the following bundles:

  • FrameworkBundle - The core Symfony framework bundle

  • SensioFrameworkExtraBundle - Adds several enhancements, including
    template and routing annotation capability

  • TwigBundle - Adds support for the Twig templating engine

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

  • SensioDistributionBundle (in dev/test env) - Adds functionality for
    configuring and working with Symfony distributions

  • SensioGeneratorBundle (in dev/test env) - Adds code generation
    capabilities

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

All libraries and bundles included in the Symfony Micro Edition are released under the MIT or BSD license.

Enjoy!