Download the PHP package atournayre/maker-bundle without Composer
On this page you can find all versions of the php package atournayre/maker-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download atournayre/maker-bundle
More information about atournayre/maker-bundle
Files in atournayre/maker-bundle
Download atournayre/maker-bundle
More information about atournayre/maker-bundle
Files in atournayre/maker-bundle
Vendor atournayre
Package maker-bundle
Short Description This bundle extend Symfony Maker Bundle and helps you create lots of files so you can forget about writing boilerplate code and it also provide minimal files to start a project.
License
Package maker-bundle
Short Description This bundle extend Symfony Maker Bundle and helps you create lots of files so you can forget about writing boilerplate code and it also provide minimal files to start a project.
License
Please rate this library. Is it a good library?
Informations about the package maker-bundle
MakerBundle
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
Step 3: Configure the Bundle
Debug configuration
- default configuration
php bin/console config:dump atournayre_maker
. - current configuration
php bin/console debug:config atournayre_maker
.
Documentation
Commands
Legend:
- ⚠️: Experimental command.
- 🚧: Command to be implemented.
- ✅: Command implemented.
Status | Command | Description and documentation |
---|---|---|
✅️ | make:add:events-to-entities |
Add events to entities |
✅️ | make:new:command |
Create a new Command |
⚠️ | make:new:controller |
Create a new Controller |
✅️ | make:new:collection |
Create a new Collection |
✅ | make:new:dto |
Create a new DTO |
✅ | make:new:enum |
Create a new Enum |
✅ | make:new:event |
Create a new Event and Listener |
✅ | make:new:exception |
Create a new Exception |
✅ | make:new:interface |
Create a new Interface |
✅ | make:new:logger |
Create a new Logger |
✅ | make:new:service |
Create a new Service |
✅ | make:new:trait |
Create a new Trait |
✅ | make:new:vo |
Create a new VO |
✅ | project:getting-started |
Add minimal files to start a project |
Create a new Maker
Step 1: Create the Configuration class
- Create a new class in the
Config
directory. - Extend the
MakerConfiguration
class. - If you need extra configuration, create as many properties, getters and withers as needed.
- If you want to add suffixes to the class name, override the
classNameSuffix
method.
Step 2: Create the Builder class
- Create a new class in the
Builder
directory. - Extend the
AbstractBuilder
class. - Implement the methods.
- Add the
#[AutoconfigureTag('atournayre_maker.php_file_builder')]
attribute to the class.
Step 3: Create the Maker class
- Create a new class in the
Maker
directory. - Extend the
AbstractMaker
class. - Implement the methods.
- Add the
#[AutoconfigureTag('maker.command')]
attribute to the class.
All versions of maker-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
atournayre/collection Version ^0.8.0
atournayre/types Version ^0.9.0
nette/php-generator Version ^4.1
symfony/framework-bundle Version ^6.4|^7.0
symfony/maker-bundle Version ^1.56
symfony/mime Version ^6.4|^7.0
symfony/twig-bundle Version ^6.4|^7.0
symfony/yaml Version ^6.4|^7.0
webmozart/assert Version ^1.11
atournayre/collection Version ^0.8.0
atournayre/types Version ^0.9.0
nette/php-generator Version ^4.1
symfony/framework-bundle Version ^6.4|^7.0
symfony/maker-bundle Version ^1.56
symfony/mime Version ^6.4|^7.0
symfony/twig-bundle Version ^6.4|^7.0
symfony/yaml Version ^6.4|^7.0
webmozart/assert Version ^1.11
The package atournayre/maker-bundle contains the following files
Loading the files please wait ....