What are bundles in Symfony?

by tyrel_franecki , in category: Technology , 3 years ago

What are bundles in Symfony?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by braeden , 3 years ago

Symfony bundle are very similar to plugins or packages in other frameworks or CMS. In Symfony, everything is a bundle from core framework components to code you write.The bundle gives the flexibility to use pre-built features packaged in third-party bundles or to create and distribute your own bundles.

There are two types of bundles are available in Symfony:

  • Application-specific bundles: only used to build your application.
  • Reusable bundles: meant to be shared across many projects.