evo-mark / laravel-actions-ide-helper
Generate a new IDE Helper file for Laravel Actions.
Package info
github.com/evo-mark/laravel-actions-ide-helper
pkg:composer/evo-mark/laravel-actions-ide-helper
Requires
- php: ^8.4|^8.5|^8.6
- illuminate/contracts: ^10.0|^11.0|^12.0|^13.0
- lorisleiva/laravel-actions: ^2.3
- lorisleiva/lody: ^0.5|^0.6|^0.7
- phpdocumentor/reflection: ^5.1|^6.0|^7.0
- phpdocumentor/reflection-docblock: ^5.4|^6.0
- riimu/kit-pathjoin: ^1.2
- spatie/laravel-package-tools: ^1.14
Requires (Dev)
- brianium/paratest: ^6.8|^7.4
- nunomaduro/collision: ^6.1|^8.0
- orchestra/testbench: ^8.0|^9.0|^10.0|^11.0
- pestphp/pest: ^1.22|^2.34|^3.7|^4.4|^5.0
- phpunit/phpunit: ^9.5.10|^10.5|^11.5.3|^12.5.12|^13.0
- spatie/invade: ^1.1|^2.0
- spatie/laravel-ray: ^1.32
- spatie/pest-plugin-snapshots: ^1.1|^2.1
- vimeo/psalm: ^5.6|^6.6
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
This packages generates IDE helpers for Laravel Actions v2. Feedback appreciated. Discussion at lorisleiva/laravel-actions#117.
Installation
composer require --dev evo-mark/laravel-actions-ide-helper
Usage
php artisan ide-helper:actions
By default this scans app/Actions and writes _ide_helper_actions.php in your project root.
Options
Scan other directories or write elsewhere for a single run:
php artisan ide-helper:actions --path=app/Domain/Billing --path=modules/Users/Actions --output=_ide_helper_actions.php
--path can be repeated. Relative paths are resolved from your project root.
Configuration
To change the defaults permanently, publish the config file:
php artisan vendor:publish --tag=actions-ide-helper-config
Then edit paths and output in config/actions-ide-helper.php. Command-line options override the config.