- Home
- Web Frameworks
- Symfony MakerBundle
Symfony MakerBundle
What it is
Symfony MakerBundle is a free, open-source tool for generating PHP code in Symfony projects. Its `make:` commands create items such as commands, controllers, form classes, and tests, reducing boilerplate work. It is installed with Composer as a development dependency and needs no configuration by default, though its settings can be overridden. Generated PHP files are formatted with php-cs-fixer.
The `make:entity` command requires `doctrine/orm` to be installed and configured; it supports ORM, not ODM. Developers can create their own `make:` commands by extending `AbstractMaker` and registering the class as a `maker.command` service. Generated code generally cannot be modified, so the documentation recommends a custom maker when changes are needed. Symfony source code is released under the MIT license. Symfony asks users to report security issues privately; confirmed vulnerabilities receive a patch, CVE identifier, and public security announcement. The documentation also directs requests about extension points to an issue. The listed platform is Linux.
For and against
For
- Generates commands, controllers, forms, and tests.
- Uses php-cs-fixer for generated PHP files.
- Requires no configuration by default.
- Developers can add custom `make:` commands.
Against
- `make:entity` requires configured `doctrine/orm`.
- Supports ORM but not ODM.
- Generated code generally cannot be modified.
The verdict
Symfony MakerBundle can reduce repetitive code work in Symfony projects and allows custom makers when generation needs adjustment. Developers using `make:entity` need Doctrine ORM installed and configured.
Who it suits
MakerBundle suits Symfony developers who want to generate common PHP project code from the command line. It also supports developers who need to add their own code-generation commands.
Plans and prices
Symfony MakerBundle
Open-source bundle · installed with Composer as a development dependency
Read 9 Oct 2026 · symfony.com
On the record
- Code linting
- Generated PHP files are formatted with a php-cs-fixer version and configuration packaged with MakerBundle, with environment variables available for custom paths.symfony.com · read 15 Oct 2026
- Code style
- MakerBundle uses php-cs-fixer to enforce coding standards when it generates PHP files.symfony.com · read 9 Oct 2026
- Command generation
- The `make:command` maker creates new Symfony console command classes.symfony.com · read 15 Oct 2026
- Command namespace
- The bundle provides code-generation commands under the `make:` namespace.symfony.com · read 9 Oct 2026
- Company description
- Symfony SAS describes itself as the company behind the Symfony PHP open-source framework and related products, certifications, and conferences.ke.linkedin.com · read 15 Oct 2026
- Company founding and size
- LinkedIn lists Symfony as privately held, founded in 2018, with 2–10 employees.ke.linkedin.com · read 15 Oct 2026
- Company headquarters
- LinkedIn lists Symfony SAS headquarters at Clichy, Île-de-France, France.ke.linkedin.com · read 15 Oct 2026
- Compatibility caveat
- Maker command arguments and generated code may change between minor releases, which matters for scripted workflows.github.com · read 15 Oct 2026
- Configuration
- The bundle works without configuration but supports settings such as `root_namespace`, `generate_final_classes`, and `generate_final_entities`.symfony.com · read 15 Oct 2026
- Controller generation
- The `make:controller` maker creates controller classes.symfony.com · read 15 Oct 2026
- Custom makers
- Developers can create their own `make:` commands by extending `AbstractMaker` and registering the class as a `maker.command` service.symfony.com · read 9 Oct 2026
- Custom makers API
- Developers can create custom `make:*` commands by extending `AbstractMaker` and registering the service with the `maker.command` tag.symfony.com · read 15 Oct 2026
- Doctrine limitation
- `make:entity` supports Doctrine ORM only and does not support Doctrine ODM.symfony.com · read 15 Oct 2026
- Documentation license
- The Symfony documentation and code samples for the bundle are licensed under Creative Commons BY-SA 3.0.symfony.com · read 15 Oct 2026
- Entity dependency
- The `make:entity` command requires `doctrine/orm` to be installed and configured, and supports ORM but not ODM.symfony.com · read 9 Oct 2026
- Entity generation
- The `make:entity` maker creates Doctrine ORM entity classes and requires Doctrine ORM.symfony.com · read 15 Oct 2026
- Event and messaging makers
- The project includes makers for event subscribers and other Symfony infrastructure such as messages and listeners.github.com · read 15 Oct 2026
- Extensibility limitation
- Broad configurability, pluggable generators, custom templates, and edge-case switches are explicitly outside the project's intended scope.github.com · read 15 Oct 2026
The review
Symfony MakerBundle is a free, open-source PHP generator for Symfony teams that want repeatable scaffolding from the command line. It suits developers already working within Symfony’s conventions and those willing to create custom makers when the defaults do not fit. Its strongest case is reducing routine setup without adding a paid service; its main constraint is that generated files are not intended to be edited as the generation strategy itself.
Overview
MakerBundle adds a family of code-generation commands under Symfony’s make: namespace. Those commands can produce controllers, form classes, tests, commands and other project code, making recurring application setup faster and more consistent. It is a Symfony-focused development aid, not a cross-framework or cross-language generator.
The bundle is installed with Composer as a development dependency and runs through the CLI. It needs no configuration for its standard behavior, while projects can override the defaults when their conventions differ. Generated PHP is passed through php-cs-fixer, so output follows established coding standards instead of becoming a source of formatting drift.
Key features
Built-in scaffolding
Standard makers cover common Symfony artifacts, including controllers, forms, tests and commands. That is valuable for teams repeatedly creating the same structural pieces, and less useful when a project rarely follows Symfony’s standard patterns. Project scaffolding and custom templates are supported, keeping the tool relevant beyond a single stock layout.
Extensible generation
Developers can create new make: commands by extending AbstractMaker and registering the class as a maker.command service. This lets a team encode its own conventions and avoid repeated manual edits. The trade-off is deliberate: generated code generally cannot be modified directly, so unusual output requires building or adjusting a maker rather than patching each result.
Doctrine boundary
make:entity requires doctrine/orm to be installed and configured. It supports Doctrine ORM, but not ODM, so projects using document mapping or no Doctrine stack should not choose the entity maker as their modeling workflow.
Pricing
Symfony MakerBundle costs nothing. It is an open-source bundle under the MIT license, with no paid tiers, seat charges, usage quotas or trial period. The free plan includes the Composer development dependency, CLI access, project scaffolding and custom templates. That makes the bundle suitable for individual developers and teams alike, provided they are comfortable maintaining a Symfony/PHP development tool rather than expecting vendor-managed support.
Platforms
The listed platform is Linux, and the supported language is PHP. Its CLI form fits server-side Symfony development environments; teams standardized on other languages or frameworks need a different generator.
Who it's for
Choose MakerBundle for Symfony projects where controllers, forms, tests and similar structures recur and consistency matters. It is particularly suited to teams that can express project conventions in custom makers and templates. It is a weaker fit for developers who need to freely edit generated output, for non-Symfony applications, or for projects whose entities depend on ODM rather than Doctrine ORM.
Pros and cons
Pros
- No purchase barrier: the MIT-licensed bundle is free and installed as a development dependency.
- Useful Symfony coverage: built-in make: commands handle several common application artifacts and reduce repetitive setup.
- Team-specific generation: custom makers and templates can encode conventions instead of relying on ad hoc edits.
- Consistent PHP output: php-cs-fixer applies coding standards to generated files.
Cons
- Limited to Symfony/PHP workflows: it is not a general generator for other stacks.
- Generated code is effectively fixed: projects needing different output must create or change a maker.
- Entity generation has a dependency: make:entity needs configured Doctrine ORM and does not support ODM.
- Support is issue-driven: Symfony directs extension-point requests to an issue rather than offering a paid support tier.
Alternatives
NestJS CLI is the closer choice for teams building NestJS applications in a free, MIT-licensed CLI installed from npm rather than Symfony and Composer.
Laravel Vapor suits Laravel teams that also want a managed, web/API-oriented deployment product; its freemium model includes a Sandbox plan with one project and ten deployments, while the Unlimited Monthly plan costs $39 a month and excludes AWS cloud costs.
Svelte REPL is preferable when the goal is browser-based Svelte experimentation in a free, MIT-licensed playground rather than PHP project scaffolding.
Astro Starlight is an alternative for teams seeking free, open-source documentation tooling that can be self-hosted or used on the web.
SmartClient fits projects wanting a web UI framework with an open-source LGPL edition and a separately priced commercial edition.
Django, Express and Flask are free framework alternatives when the application should be built outside Symfony; Express is listed for Linux, macOS and Windows.
Verdict
Symfony MakerBundle is a strong recommendation for PHP developers already committed to Symfony who want free, repeatable scaffolding and are prepared to formalize deviations as custom makers. Its combination of built-in commands, coding-standard formatting and extensibility removes a substantial amount of routine setup. Look elsewhere when you need unrestricted editing of generated files, ODM entity support, or a generator for another framework or language.