1. Go to this page and download the library: Download reecem/static-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/ */
reecem / static-form example snippets
// routes/api.php
Route::group([
'middleware' => config('static-form.middleware.forms'),
], function () {
// A controller that you have created.
Route::post('/contact', StaticContactController::class)->name('contact.create');
});