daniel-de-wit / laravel-ide-helper-hook-translatable
Add Laravel Translatable support to Laravel IDE Helper
Installs: 4 879
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 2
Open Issues: 1
Requires
- php: ^8.1
- astrotomic/laravel-translatable: ^11.9
- barryvdh/laravel-ide-helper: ^2.9 || ^3.0
- illuminate/database: ^9.0 || ^10.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.18
- nunomaduro/larastan: ^0.7.2
- orchestra/testbench: ^6.7
- phpstan/phpstan-mockery: ^0.12.13
- phpstan/phpstan-phpunit: ^0.12.18
- phpunit/phpunit: ^9.5
- thecodingmachine/phpstan-safe-rule: ^1.0
This package is auto-updated.
Last update: 2024-12-11 06:59:27 UTC
README
A Laravel Package for adding Laravel Translatable support to Laravel IDE Helper Laravel IDE Helper.
Installation
You can install the package via composer:
composer require --dev daniel-de-wit/laravel-ide-helper-hook-translatable
The Translatable Hook is loaded using Package Discovery, when disabled read Manual Installation.
Usage
Run standard model generation commands as normal:
php artisan ide-helper:models "App\Models\Post"
Manual Installation
When disabled, register the LaravelIdeHelperHookTranslatableServiceProvider manually by adding it to your config/app.php
/* * Package Service Providers... */ DanielDeWit\LaravelIdeHelperHookTranslatable\Providers\LaravelIdeHelperHookTranslatableServiceProvider::class,
Testing
composer test
Credits
License
The MIT License (MIT). Please see License File for more information.