grafite / forms
A remarkably magical form package for Laravel.
Installs: 5 464
Dependents: 1
Suggesters: 0
Security: 0
Stars: 35
Watchers: 4
Forks: 25
Open Issues: 2
Requires
- php: >=8.2
- illuminate/support: ^11.0
- illuminate/view: ^11.0
- matthiasmullie/minify: ^1.3
Requires (Dev)
- mikey179/vfsstream: ^1.6
- mockery/mockery: ^1.0
- orchestra/testbench: ^9.0
- phpunit/phpunit: ^10.5
Suggests
- spatie/honeypot: Allows use of the HoneyPot HTMLSnippet
- dev-main
- v7.0.2
- v7.0.1
- v7.0.0
- v6.28.0
- v6.27.4
- v6.27.3
- v6.27.2
- v6.27.1
- v6.27.0
- v6.26.2
- v6.26.1
- v6.26.0
- v6.25.8
- v6.25.7
- v6.25.6
- v6.25.5
- v6.25.4
- v6.25.3
- v6.25.2
- v6.25.1
- v6.25.0
- v6.24.1
- v6.24.0
- v6.23.2
- v6.23.1
- v6.23.0
- v6.22.0
- v6.21.3
- v6.21.2
- v6.21.1
- v6.21.0
- v6.20.1
- v6.20.0
- v6.19.8
- v6.19.7
- v6.19.6
- v6.19.5
- v6.19.4
- v6.19.3
- v6.19.2
- v6.19.1
- v6.19.0
- v6.18.8
- v6.18.7
- v6.18.6
- v6.18.5
- v6.18.4
- v6.18.3
- v6.18.2
- v6.18.1
- v6.18.0
- v6.17.8
- v6.17.7
- v6.17.6
- v6.17.5
- v6.17.4
- v6.17.3
- v6.17.2
- v6.17.1
- v6.17.0
- v6.16.2
- v6.16.1
- v6.16.0
- v6.15.3
- v6.15.2
- v6.15.1
- v6.15.0
- v6.14.0
- v6.13.4
- v6.13.3
- v6.13.2
- v6.13.1
- v6.13.0
- v6.12.1
- v6.12.0
- v6.11.2
- v6.11.1
- v6.11.0
- v6.10.1
- v6.10.0
- v6.9.1
- v6.9.0
- v6.8.3
- v6.8.2
- v6.8.1
- v6.8.0
- v6.7.3
- v6.7.2
- v6.7.1
- v6.7.0
- v6.6.6
- v6.6.5
- v6.6.4
- v6.6.3
- v6.6.2
- v6.6.1
- v6.6.0
- v6.5.1
- v6.5.0
- v6.4.0
- v6.3.7
- v6.3.6
- v6.3.5
- v6.3.4
- v6.3.3
- v6.3.2
- v6.3.1
- v6.3.0
- v6.2.3
- v6.2.2
- v6.2.1
- v6.2.0
- v6.1.1
- v6.1.0
- v6.0.x-dev
- v6.0.2
- v6.0.1
- v6.0.0
- v5.1.3
- v5.1.2
- v5.1.1
- v5.1.0
- v5.0.3
- v5.0.2
- v5.0.1
- v5.0.0
- v4.9.5
- v4.9.4
- v4.9.3
- v4.9.2
- v4.9.1
- v4.9.0
- v4.8.1
- v4.8.0
- v4.7.2
- v4.7.1
- v4.7.0
- v4.6.1
- v4.6.0
- v4.5.9
- v4.5.8
- v4.5.7
- v4.5.6
- v4.5.5
- v4.5.4
- v4.5.3
- v4.5.2
- v4.5.1
- v4.5.0
- v4.4.2
- v4.4.1
- v4.4.0
- v4.3.10
- v4.3.9
- v4.3.8
- v4.3.7
- v4.3.6
- v4.3.5
- v4.3.4
- v4.3.3
- v4.3.2
- v4.3.1
- v4.3.0
- v4.2.3
- v4.2.2
- v4.2.1
- v4.2.0
- v4.1.4
- v4.1.3
- v4.1.2
- v4.1.1
- v4.1.0
- v4.0.2
- v4.0.1
- v4.0.0
- v3.1.5
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.0
- v2.14.4
- v2.14.3
- v2.14.2
- v2.14.1
- v2.14.0
- v2.13.2
- v2.13.1
- v2.13.0
- v2.12.8
- v2.12.7
- v2.12.6
- v2.12.5
- v2.12.4
- v2.12.3
- v2.12.2
- v2.12.1
- v2.12.0
- v2.11.1
- v2.11.0
- v2.10.0
- v2.9.1
- v2.9.0
- v2.8.0
- v2.7.1
- v2.7.0
- v2.6.2
- v2.6.1
- v2.6.0
- v2.5.1
- v2.5.0
- v2.4.6
- v2.4.5
- v2.4.4
- v2.4.3
- v2.4.2
- v2.4.1
- v2.4.0
- v2.3.1
- v2.3.0
- v2.2.1
- v2.2.0
- v2.1.11
- v2.1.10
- v2.1.9
- v2.1.8
- v2.1.7
- v2.1.6
- v2.1.5
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.3.x-dev
- v1.3.7
- dev-develop
- dev-quill-shortcuts
- dev-quill_upgrade
- dev-2022-fields
- dev-bootstrap-5
- dev-l
- dev-for-vue-components
This package is auto-updated.
Last update: 2024-11-06 16:58:24 UTC
README
Forms - An amazing Forms component for Laravel.
The Forms package lets you generate forms as well as fields with standard make commands. Inside your forms for models you can specify the fields that need to be generated and then simply pass the form to the view. No more writing html forms, error handling etc. It can handle Eloquent relationships and easily work with ajax requests for more dynamic form submissions.
Author(s):
- Matt Lantz (@mattylantz, mattlantz at gmail dot com)
Requirements
- PHP 8.2+
- OpenSSL
Compatibility and Support
Installation
Start a new Laravel project:
composer create-project laravel/laravel your-project-name
Then run the following to add Forms
composer require "grafite/forms"
Time to publish those assets!
php artisan vendor:publish --provider="Grafite\Forms\FormsProvider"
Documentation
https://docs.grafite.ca/utilities/forms
Upgrading from 3.x to 4.x (Renaming)
The package was renamed in version 3 to 4. This means that the following would need to be changed on your code base:
form-maker.php
-> forms.php
Grafite\FormMaker
-> Grafite\Forms
@formMaker
-> @forms
<x-fm></x-fm>
-> <x-f></x-f>
<x-fm-action></x-fm-action>
-> <x-f-action></x-f-action>
<x-fm-delete></x-fm-delete>
-> <x-f-delete></x-f-delete>
<x-fm-search></x-fm-search>
-> <x-f-search></x-f-search>
Asset Sources for CSP
js.hcaptcha.com cdn.jsdelivr.net
License
Forms is open-sourced software licensed under the MIT license
Bug Reporting and Feature Requests
Please add as many details as possible regarding submission of issues and feature requests
Disclaimer
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.