PHP code example of hello-sebastian / hello-stimulus-bundle
1. Go to this page and download the library: Download hello-sebastian/hello-stimulus-bundle library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
hello-sebastian / hello-stimulus-bundle example snippets
$this->formController = new StimulusFormHelper('user--user-form');
// rendered to data-controller="user--user-form" to the form tag
$this->formController = new StimulusFormHelper('user/user_form');
// rendered to data-controller="user--user-form" to the form tag