Advanced Usage

PhpStorm Interaction

You may wish to extend PhpStorm to extend the blade directives of this package:

  1. In PhpStorm, open Preferences, and navigate to Languages and Frameworks -> PHP -> Blade (File | Settings | Languages & Frameworks | PHP | Blade)
  2. Uncheck "Use default settings", then click on the Directives tab.
  3. Add the following new directives for the laravel-form-components package:
  • has parameter = YES
  • Prefix: <?php echo \\Rawilk\\FormComponents\\Facades\\FormComponents::javaScript(
  • Suffix: ); ?>
Previous
Customizing CSS
Caught a mistake? Suggest an edit on GitHub