> For the complete documentation index, see [llms.txt](https://developers.retailys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.retailys.com/useful-commands.md).

# Useful commands

Symfony and other commands that will help you with development

## Controllers

### Create Controller

```
$ bin/console make:controller
> InitControler
```

{% hint style="info" %}
More about [Symfony Maker Bundle](https://symfony.com/bundles/SymfonyMakerBundle/current/index.html)
{% endhint %}

## Entities and Migrations

### Create Entity

```
$ bin/console make:entity
```

### Create Migration (Difference)

```
$ bin/console doctrine:migrations:diff
```

### Run Migration

```
$ bin/console doctrine:migrations:migrate
```

{% hint style="info" %}
More about [Doctrine Migrations Bundle](https://symfony.com/bundles/DoctrineMigrationsBundle/current/index.html)
{% endhint %}
