From d200f2284bf1ba16e8776897b9170bf6b5155fc8 Mon Sep 17 00:00:00 2001 From: Patompong Savaengsuk Date: Wed, 11 Sep 2019 13:25:44 +0700 Subject: [PATCH] Update readme.md (#825) * Update readme.md In version 2.6.5, this commit https://github.com/barryvdh/laravel-ide-helper/commit/f8a8cb18e0a42ae4131b7ed865fe792f9b34630c made it so library's consumer no longer need to pull in `doctrine/dbal` manually. I think we should mention that in the readme file as well. Although I'm not sure if it adds any value to the file itself or not. * Remove note about doctrine/dbal from readme.md --- readme.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/readme.md b/readme.md index 3bf9463..d2fc6e2 100644 --- a/readme.md +++ b/readme.md @@ -91,13 +91,6 @@ The `Illuminate/Support/helpers.php` is already set up, but you can add/remove y ### Automatic phpDocs for models -> You need to add `doctrine/dbal: ~2.3` to require-dev in your own composer.json to get database columns. - - -```bash -composer require --dev 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.