Skip to content

neuralglitch/make-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Make Bundle

A Symfony console command to generate empty, ready-to-code bundle skeletons.

PHP Version Symfony
PHPUnit Coverage PHPStan
Psalm Infection Code Style
Release Downloads License

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

Requirements

  • PHP 8.1 or higher
  • Symfony 6.4, 7.x, or 8.x

Support

License

MIT

About

The missing make:bundle command for Symfony

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks