neuralglitch / make-bundle
The missing make:bundle command for Symfony
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/neuralglitch/make-bundle
Requires
- php: >=8.1
- symfony/console: ^6.4 || ^7.0 || ^8.0
- symfony/filesystem: ^6.4 || ^7.0 || ^8.0
- symfony/string: ^6.4 || ^7.0 || ^8.0
- symfony/yaml: ^6.4 || ^7.0 || ^8.0
- twig/twig: ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- infection/infection: ^0.29
- phpmetrics/phpmetrics: ^2.8
- phpstan/phpstan: ^1.11
- phpunit/phpunit: ^10.5 || ^11.0
- rector/rector: ^1.0
- symfony/asset-mapper: ^6.4 || ^7.0 || ^8.0
- symfony/config: ^6.4|^7.0
- symfony/dependency-injection: ^6.4|^7.0
- symfony/http-kernel: ^6.4|^7.0
- vimeo/psalm: ^6.0
This package is auto-updated.
Last update: 2025-11-26 11:14:23 UTC
README
Make Bundle
A Symfony console command to generate empty, ready-to-code bundle skeletons.
Features
- Agnostic Bundle Generation - Creates empty bundle repositories ready for your custom code
- Multi-Version Symfony Support - Target Symfony 6.4, 7.0-7.4, or 8.0 with version-specific syntax
- Twig-Powered Templates - Powerful, flexible template generation with conditional logic
- Interactive Configuration - Smart wizard with vendor auto-discovery and feature selection
- Version-Aware - Generates attributes (Symfony 7.0+) or annotations (Symfony 6.4)
- Flex Recipe Generation - Automatically generates Symfony Flex recipes in
.recipe/directory
Prerequisites
For fully automatic setup, visit the related Flex recipe repository and follow the instructions to add it to the composer.json in the consuming project, as the recipe is not yet part of the Symfony's main recipe repository.
Installation
composer require neuralglitch/make-bundle
Quick Start
1. Generate a bundle with interactive wizard
bin/console make:bundle
The wizard will ask for vendor, package name, Symfony version, and bundle features.
2. Or use direct arguments
bin/console make:bundle acme/awesome-utilities lib
This creates lib/acme/awesome-utilities/ with a complete bundle structure including Symfony Flex recipe.
Documentation
- Usage Guide - Detailed usage examples and options
- Generated Structure - Complete bundle structure overview
- Symfony Versions - Version-specific features and syntax
- Templates - Customizing Twig templates
- Advanced Usage - Path repositories and advanced scenarios
Requirements
- PHP 8.1 or higher
- Symfony 6.4, 7.x, or 8.x