likesistemas / eloquent-ide-helper
Using `barryvdh/laravel-ide-helper` without laravel framework.
Installs: 9 503
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 2
Open Issues: 1
Requires
- php: >=5.6
- barryvdh/laravel-ide-helper: ^2.4
- doctrine/dbal: ^2.5
- illuminate/container: ^5.4
- illuminate/filesystem: ^5.4
Requires (Dev)
- likesistemas/eloquent-external: ^1.1
- phpunit/phpunit: ^5.0 || ^9.0
README
Installation
composer require --dev likesistemas/eloquent-ide-helper
How to configure?
To configure it, create a ide-helper.php
file in the project root (where composer.json is located) and define the settings that barryvdh/laravel-ide-helper
defines in its documentation.
use Like\Eloquent\IdeHelper\Config; return new Config([ 'ide-helper.model_locations' => [ 'sql/models/' ], ]);
Usage
A binary called ide-helper
is available which can be used with the same functionality as the original library.
ide-helper models # Create the models.
Thanks
To assemble this library I used the reference of a task from the main repository, thanks @mfn for the guidelines.