# Create a new bundle {#create-new-bundle} :::: warning ::: title Warning ::: This part of the doc is not yet tested :::: ## Create a new directory with Bundle class ``` bash mkdir -p src/Bundle/ChillSomeBundle/src/config mkdir -p src/Bundle/ChillSomeBundle/src/Controller ``` Add a bundle file ``` php ['all' => true], ``` And import routes in `config/routes/chill_some_bundle.yaml`: ``` yaml chill_ticket_bundle: resource: '@ChillSomeBundle/config/routes.yaml' ``` ## Add the doctrine_migration namespace Add the namespace to `config/packages/doctrine_migrations_chill.yaml` ``` diff doctrine_migrations: migrations_paths: + 'Chill\Some\Ticket': '@ChillSomeBundle/migrations' ``` ## Dump autoloading ``` bash symfony composer dump-autoload ```