PHP code example of rapidez / amasty-custom-form
1. Go to this page and download the library: Download rapidez/amasty-custom-form 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/ */
rapidez / amasty-custom-form example snippets
$form = \Rapidez\AmastyCustomForm\Models\AmastyCustomForm::select('form_id')->where('code', <form code>)->first();
...
<x-amasty-custom-form::form :formId="$form->form_id"/>
bash
php artisan vendor:publish --provider="Rapidez\AmastyCustomForm\AmastyCustomFormServiceProvider" --tag=views