trismegiste / sympony
My fat-free "Symfony Non-Standard Edition" distribution
Requires
- php: >=5.3.3
- doctrine/doctrine-bundle: 1.2.*
- doctrine/orm: ~2.2,>=2.2.3
- jms/di-extra-bundle: 1.3.*
- jms/security-extra-bundle: 1.4.*
- sensio/distribution-bundle: 2.2.*
- sensio/framework-extra-bundle: 2.2.*
- sensio/generator-bundle: 2.2.*
- symfony/assetic-bundle: 2.1.*
- symfony/monolog-bundle: 2.2.*
- symfony/swiftmailer-bundle: 2.2.*
- symfony/symfony: 2.2.*
- twig/extensions: 1.0.*
This package is not auto-updated.
Last update: 2021-11-26 08:18:31 UTC
README
What
Welcome to my Symfony 2.3 Fat Free Boilerplate - a release of symfony 2.3 that you can use as the skeleton for your new applications when you don't need all the bundles of the Universe.
When you need to start a project in 15 seconds, use this release. It does not include heavy & slow components like Doctrine or Swiftmailer.
All components extending Annotations are removed because it is a known anti-pattern : the Inner-platform Effect
Installing this edition
With Composer
php composer.phar create-project trismegiste/sympony MyApp 2.3.x-dev
Start hacking
This edition is intended to be a seed to grow your own project very fast !
It is not intended to build your app on it but in it. Modify, redefine or delete files, it is for you ! Yes it sounds like duct tape programing but even in space, engineers use duct tape and with symfony 2.3 you can do that in an elegant and clean way, thanx Fabien you're awsum.
Y U NO use Silex ?
Yes, Silex is cool. But who can say what is the best : A fat Silex or a light Symfony ? I prefer light Symfony. Now you can choose.
Contributing
Since this repository is mainly for me, I don't think it will evolve, it is already very specific. Too more features will be pointless.
What's inside?
This light boilerplate is configured with the following defaults:
-
Twig is the only configured template engine;
-
Twitter Bootstrap : default for the base twig, we are in 21st century now
-
DokudokiBundle : A full-schemaless-database-layer for MongoDB
-
It features an auto-installer : after the first install, a script will create a file named after your server name and asks you some parameters (MongoDB server, locale etc...). See trismegiste/symfony-prelude
-
It has a default security route and login form. The provider is hardcoded in security.yml. See the documentation of the SecurityBundle to change it.
-
It adds a configuration for multiple developers with a parameter named "developer.name" in dev environment.
It comes pre-configured with the following bundles:
-
FrameworkBundle - The core Symfony framework bundle
-
TwigBundle - Adds support for the Twig templating engine
-
SecurityBundle - Adds security by integrating Symfony's security component
-
MonologBundle - Adds support for Monolog, a logging library
-
AsseticBundle - Adds support for Assetic, an asset processing library
-
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
Enjoy!