The 30 Most Useful Symfony Bundles (and making them even better)

the most useful bundles:

source: http://symfony.com/blog/the-30-most-useful-symfony-bundles-and-making-them-even-better

FOSUserBundle (60%)
FOSRestBundle (30%)
KnpMenuBundle (25%)
StofDoctrineExtensionsBundle (25%)
JMSSerializerBundle (24%)
SonataAdminBundle (24%)
FOSJsRoutingBundle (23%)
LiipImagineBundle (22%)
KnpPaginatorBundle (16%)
NelmioApiDocBundle (11%)
FOSElasticaBundle (11%)
HWIOAuthBundle (11%)
VichUploaderBundle (10%)
RaulFraileLadyBugBundle (9%)
KnpSnappyBundle (8%)
DoctrineFixturesBundle (8%)
WhiteOctoberPagerFantaBundle (8%)
DoctrineMigrationsBundle (8%)
MopaBootstrapBundle (7%)
JMSSecurityExtraBundle (6%)
DoctrineBundle (5%)
AvalancheImagineBundle (5%)
JMSDiExtraBundle (5%)
GenemuFormBundle (4%)
KnpGaufretteBundle (4%)
SncRedisBundle (4%)
LexikFormFilterBundle (3%)
JMSI18nRoutingBundle (3%)
LiuggioExcelBundle (3%)
JMSTranslationBundle (3%)

Sylius e-commerce solution

Sylius is e-commerce solution for PHP, based on the Symfony2 framework.

http://sylius.org/

Installation

Demo

Sylius is completely open source (MIT license) and free, maintained by diverse and creative community of developers and companies.

If you use a different framework than Symfony, you are welcome to use Sylius components, which will make it much easier to implement a webshop with any PHP application and project. They provide you with default models, services and logic for all aspects of e-commerce, completely separated and ready to use.

composer create-project -s dev sylius/sylius

Symfony 2 WordPress Entity generation

php app/console generate:doctrine:entity


 Welcome to the Doctrine2 entity generator



This command helps you generate Doctrine2 entities.

First, you need to give the entity name you want to generate.
You must use the shortcut notation like AcmeBlogBundle:Post.


The Entity shortcut name: BloggerBlogBundle:Wordpress

Determine the format to use for the mapping information.

Configuration format (yml, xml, php, or annotation) [annotation]:

Instead of starting with a blank entity, you can add some fields now.
Note that the primary key will be added automatically (named id).

Available types: array, simple_array, json_array, object,
boolean, integer, smallint, bigint, string, text, datetime, datetimetz,
date, time, decimal, float, blob, guid.

New field name (press  to stop adding fields): post_title
Field type [string]:
Field length [255]:

New field name (press  to stop adding fields): post_date
Field type [string]: datetime

New field name (press  to stop adding fields): post_status
Field type [string]:
Field length [255]:

New field name (press  to stop adding fields): post_type
Field type [string]:
Field length [255]:


New field name (press  to stop adding fields):

Do you want to generate an empty repository class [no]? yes


  Summary before generation


You are going to generate a "BloggerBlogBundle:Wordpress" Doctrine2 entity
using the "annotation" format.

Do you confirm generation [yes]? yes


  Entity generation

Instead of think about ZF2 || Symfony 2 think about ZF2 && Symfony 2

… if you want to use a good Symfony 2 bundle in ZF2 or a good ZF2 module in Symfony2
Symfony2 in ZF2

https://speakerdeck.com/skoop/zend-framework-2-and-symfony2-the-perfect-team-phpday-2013

https://speakerd.s3.amazonaws.com/presentations/7ac72050a1d901304c7f227bb3c2be12/ZF2_and_Symfony2_phpday.pdf

Symfony2 in ZF2
{
“require”: {
“php”: “>=5.3.3”,
“zendframework/zendframework”: “2.0.*”,
“symfony/yaml”: “2.2.*”,
“symfony/dom-crawler”: “2.2.*”,
},
“autoload”: {
“psr-0”: {
“Application”: “module/Application/src”
}
}
}