Download the PHP package kusikusi/forms without Composer
On this page you can find all versions of the php package kusikusi/forms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package forms
Kusikusi Forms Controllers
This is a read-only repository, splitted from the monorepo at github.com/cuatromedios/kusikusi-monorepo
For the Laravel starter kit visit github.com/cuatromedios/kusikusi
Install
This package complements kusikusi/models and kusikusi/website packages, that should be required first.
Usage
Publish the assets
-
Publish all the assets ...
-
Or Publish individual Assets
Configuration
Migrations
Receiving forms
- Any form you want to be processed by Kusikusi Forms, set the action to
/form
and method topost
- Include the Laravel CSRF token
-
Include a hidden field named
entity_id
with the entity id value of the current page - The entity referenced should have in the
properties
field, a property namedform
with specific params:fields
an object with the keys as the field names and values as the validation string for that field, if a field is not described here will be ignored.mail_to
an email address if you want to send the entry to an email address. You should have mail values configured in your Laravel project.
Routes
This Kusikusi Forms Package, has a routes specific for form entries management
Receiving form entries
API endpoints to manage the entries.
Testing
Run the tests with:
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
Security
If you discover any security-related issues, please email dev@cuatromedios instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.