Skip to content
This is an extension of the Symfony Maker Bundle, providing autoloading in the Contao Managed Edition as well as additional commands specific to a Contao installation.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.php_cs.dist
LICENSE
README.md
composer.json

README.md

Contao Maker Bundle

This is an extension of the Symfony Maker Bundle, providing autoloading in the Contao Managed Edition as well as additional commands specific to a Contao installation.

Installation

composer require --dev inspiredminds/contao-maker-bundle

Commands

See the Symfony Maker Bundle documentation on how to use the commands, how to list all commands and how to display help text for each command.

The following is a list of Contao Managed Edition specific commands, that are introduced in this bundle.

make:contao-kickstart

In order to be able to use commands, services, event listeners etc. in your app under the src/ folder, you need load these services in your app config. This command generates or updates the the following files in order to use autowiring for your app:

  • composer.json
  • app/config/services.yml
  • app/config/config.yml
  • app/config/routing.yml (optional)

Note: since the Contao Managed Edition still uses the old Symfony structure, the command still generates the config files under app/config/ rather than just config/.

make:contao-manager-plugin

This generates an App\ContaoManager\Plugin class. It will ask you whether you want load a bundle or load routes (the latter is necessary for Contao 4.4).

You can’t perform that action at this time.