laravel-form-components
Advanced Usage
PhpStorm Interaction
On this page
Extending PhpStorm
You may wish to extend PhpStorm to extend the blade directives of this package:
- In PhpStorm, open Preferences, and navigate to Languages and Frameworks -> PHP -> Blade (File | Settings | Languages & Frameworks | PHP | Blade)
- Uncheck "Use default settings", then click on the Directives tab.
- Add the following new directives for the laravel-form-components package:
@fcScripts
- has parameter = YES
- Prefix:
<?php echo \\Rawilk\\FormComponents\\Facades\\FormComponents::javaScript(
- Suffix:
); ?>