diff --git a/readme.md b/readme.md index d4ef492..325bfce 100644 --- a/readme.md +++ b/readme.md @@ -75,6 +75,11 @@ The `Illuminate/Support/helpers.php` is already set-up, but you can add/remove y > You need to require `doctrine/dbal: ~2.3` in your own composer.json to get database columns. + +```bash +composer require doctrine/dbal +``` + If you don't want to write your properties yourself, you can use the command `php artisan ide-helper:models` to generate phpDocs, based on table columns, relations and getters/setters. You can write the comments directly to your Model file, using the `--write (-W)` option. By default, you are asked to overwrite or write to a separate file (`_ide_helper_models.php`). You can force No with `--nowrite (-N)`. Please make sure to backup your models, before writing the info.