Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Symfony MakerBundle

symfony.com

  • Free plan
  • Open source
  • Windows
  • macOS
  • Linux
  • API
  • Self-hosted
8.1 Club score Visit symfony.com

What Symfony MakerBundle is

Symfony MakerBundle is a free, open-source bundle that generates PHP code for Symfony projects. Its commands use the `make:` namespace and can create commands, controllers, form classes, tests, and other code to reduce boilerplate. It is installed with Composer as a development dependency and needs no configuration by default, though its settings can be overridden. MakerBundle uses php-cs-fixer to apply coding standards to generated PHP files. The `make:entity` command requires `doctrine/orm` to be installed and configured; it supports ORM but not ODM. Developers can add commands of their own by extending `AbstractMaker` and registering the class as a `maker.command` service. Generated code generally cannot be modified, so the documentation points developers toward custom makers when they need changes. The Symfony source code is released under the MIT license. Symfony asks users to report security issues privately. For confirmed vulnerabilities, its core team prepares a patch, obtains a CVE identifier, and publishes a security announcement. The listed platform is Linux.

Who it suits

MakerBundle suits Symfony developers who want command-line code generation for PHP projects. It also fits developers willing to create custom makers when generated code needs changes.

Good to know, and what to watch

  • Generates commands, controllers, forms, and tests
  • Uses php-cs-fixer for generated PHP files
  • No configuration required by default
  • Developers can add custom make commands
  • make:entity requires doctrine/orm
  • Supports ORM but not ODM
  • Generated code generally cannot be modified

Symfony MakerBundle

Free

Open source

Getting started

  1. Open the Symfony MakerBundle website
  2. Install the bundle with Composer as a development dependency
  3. Use the CLI commands in the `make:` namespace
  4. Install and configure `doctrine/orm` before using `make:entity`
  5. Extend `AbstractMaker` and register a `maker.command` service for custom makers

Limits to check

The bundle is free and open source. The `make:entity` command is limited to projects with configured Doctrine ORM and does not support ODM; generated code generally cannot be edited directly.

The Club's review

Symfony MakerBundle is a command-line code generator for PHP projects built with Symfony. It suits developers and teams that want repeatable scaffolding inside Symfony’s own workflow, especially when project conventions can be captured in custom makers. The main qualification is that entity generation relies on Doctrine ORM, so it is less suitable for projects using another persistence approach.

Overview

MakerBundle adds a family of make: commands that create common Symfony building blocks, including commands, controllers, form classes, tests and other PHP code. That focus makes it useful for removing repetitive setup from day-to-day development, but it is not a cross-framework or multi-language generator. Its project-scaffolding capability is delivered through a CLI, and PHP is the supported language.

Installation requires no configuration for the standard workflow. Teams can override default settings when their application needs different behavior. Generated PHP is passed through php-cs-fixer, giving newly created files a consistent coding style rather than leaving formatting to each developer.

Key features

Built-in commands

The built-in makers cover the recurring artifacts Symfony developers create most often. This is a practical advantage for new features and repetitive application structure: a command can establish a conventional starting point quickly, leaving developers to focus on business logic instead of boilerplate.

Doctrine-aware entity generation

The make:entity command requires doctrine/orm to be installed and configured. It supports Doctrine’s ORM, but not ODM. Projects that do not use Doctrine ORM will need another way to define their data layer, even if they still use MakerBundle for controllers or forms.

Custom makers and templates

Custom templates are supported, and a team can create its own make: command by extending AbstractMaker and registering the class as a maker.command service. This is the right extension point when generated output must follow house conventions. Generated files generally are not intended to be edited as a customization mechanism; building a custom maker is the documented path instead. That preserves repeatability, but it adds implementation work for teams whose needs differ substantially from the defaults.

Maintenance and security

Symfony source code is released under the MIT license. Symfony asks users to report security issues privately to [email protected] rather than through the bug tracker or public disclosure. For a confirmed vulnerability, the core team prepares a patch, obtains a CVE identifier and publishes a security announcement. Requests for MakerBundle extension points are directed to an issue for discussion.

Pricing

PlanPriceWhat it includes
Symfony MakerBundleFreeOpen-source bundle installed with Composer as a development dependency

There is no paid tier or trial to evaluate. The free plan is the complete open-source bundle, making it a straightforward fit for individual Symfony developers and teams that can work within its command set or maintain their own makers. The trade-off is not a quota or seat limit; it is the engineering effort required when default generation does not match a project’s conventions.

Platforms

MakerBundle is listed for Linux and runs as a PHP CLI component in Symfony projects. Its scope is therefore tied to a server-side PHP development environment rather than a browser-only editor or a general desktop generator.

Who it's for

Choose MakerBundle if your team already builds with Symfony and wants consistent, repeatable creation of controllers, forms, tests, commands and related code. It is particularly useful for projects that value framework conventions and can encode variations in custom makers. It is a weaker fit for non-Symfony stacks, non-PHP development, or applications whose entity layer is based on ODM rather than Doctrine ORM.

Pros and cons

  • Pros: free and MIT-licensed, with no configuration required for the standard workflow.
  • Pros: one make: namespace covers several common Symfony artifacts through a CLI.
  • Pros: php-cs-fixer formats generated PHP, helping new files match coding standards.
  • Pros: custom templates and registered makers let teams encode their own conventions.
  • Cons: entity generation depends on configured Doctrine ORM and does not support ODM.
  • Cons: generated code generally cannot be modified directly, so substantial deviations require a custom maker.
  • Cons: its value is concentrated in Symfony and PHP projects rather than broader technology stacks.

Alternatives

Laravel Vapor is a choice for teams working in Laravel who need a freemium, web and API platform; its Sandbox plan covers one project and 10 deployments, while Unlimited Monthly costs $39 a month and excludes AWS cloud costs.

NestJS CLI is the better match for TypeScript projects using NestJS, with a free MIT-licensed CLI installable from npm.

Svelte REPL suits developers who want a free, open-source web playground rather than Symfony-oriented PHP scaffolding.

Astro Starlight is a free option for self-hosted or web-based Astro documentation work.

Buffalo is worth considering when a free generator and framework spanning Linux, macOS, web and Windows is preferred.

Express is the free alternative for teams targeting Linux, macOS or Windows with that framework.

SmartClient offers a freemium web framework with an open-source LGPL edition and paid commercial editions.

Echo is a free framework option for Linux, macOS and Windows projects.

Verdict

Symfony MakerBundle is a strong choice for Symfony teams that want free, convention-aware PHP scaffolding from the command line and are prepared to express deviations through custom makers. Look elsewhere when you need framework-agnostic generation, ODM entity support, or direct editing of generated output as part of the normal workflow.

The verdict

MakerBundle provides Symfony developers with a configurable foundation for generating common PHP code. Its entity command depends on Doctrine ORM, and custom makers are the documented route when generated output needs changes.

Questions people ask

Is Symfony MakerBundle free?

Yes. It is an open-source bundle with a listed price of free.

Which platform does it support?

Linux is the listed platform, and PHP is the supported language.

Does it require configuration?

No configuration is required by default, although the default settings can be overridden.

Can developers create custom generators?

Yes. A developer can extend `AbstractMaker` and register the class as a `maker.command` service.

What does `make:entity` require?

It requires `doctrine/orm` to be installed and configured, and supports ORM rather than ODM.

What the maker publishes

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. source
Code style
MakerBundle uses php-cs-fixer to enforce coding standards when it generates PHP files. source
Command generation
The `make:command` maker creates new Symfony console command classes. source
Command namespace
The bundle provides code-generation commands under the `make:` namespace. source
Company description
Symfony SAS describes itself as the company behind the Symfony PHP open-source framework and related products, certifications, and conferences. source
Company founding and size
LinkedIn lists Symfony as privately held, founded in 2018, with 2–10 employees. source
Company headquarters
LinkedIn lists Symfony SAS headquarters at Clichy, Île-de-France, France. source
Compatibility caveat
Maker command arguments and generated code may change between minor releases, which matters for scripted workflows. source
Configuration
The bundle requires no configuration, though its default settings can be overridden. source
Configuration
The bundle works without configuration but supports settings such as `root_namespace`, `generate_final_classes`, and `generate_final_entities`. source
Controller generation
The `make:controller` maker creates controller classes. source
Custom makers
Developers can create their own `make:` commands by extending `AbstractMaker` and registering the class as a `maker.command` service. source
Custom makers API
Developers can create custom `make:*` commands by extending `AbstractMaker` and registering the service with the `maker.command` tag. source
Doctrine limitation
`make:entity` supports Doctrine ORM only and does not support Doctrine ODM. source
Documentation license
The Symfony documentation and code samples for the bundle are licensed under Creative Commons BY-SA 3.0. source
Entity dependency
The `make:entity` command requires `doctrine/orm` to be installed and configured, and supports ORM but not ODM. source
Entity generation
The `make:entity` maker creates Doctrine ORM entity classes and requires Doctrine ORM. source
Event and messaging makers
The project includes makers for event subscribers and other Symfony infrastructure such as messages and listeners. source
Extensibility limitation
Broad configurability, pluggable generators, custom templates, and edge-case switches are explicitly outside the project's intended scope. source
Form generation
MakerBundle can generate Symfony form classes. source
Founded
2017 source
Generated code
Generated code generally cannot be modified; the documentation recommends adding a custom maker when needed. source
Generated-code limitation
Generated code generally cannot be customized directly; the documentation recommends adding a separate maker for different output. source
Installation
It is installed as a development dependency with `composer require --dev symfony/maker-bundle`. source

Checked against the maker's pages on 15 Oct 2026.