sevenpointsix / zfw
There is no license information available for the latest version (dev-master) of this package.
A Laravel package for automating data collection from forms
dev-master
2022-03-31 15:29 UTC
Requires
- php: >=7
- laravel/framework: 5.*
- sunra/php-simple-html-dom-parser: 1.5.2
This package is auto-updated.
Last update: 2024-03-29 03:38:27 UTC
README
An experimental form handler for Laravel.
TODO:
Write an artisan command that will:
- Parse a page containing an HTML form and generate a config file
- Validate the existing config file for errors
- Check that each form has an associated table to store data; create a migration if not
- Check that the database table has all necessary fields (based on the fields in the form); create a migration (to modify the table) if not
- (This is probably a better idea than trying to get the FormController to create tables on the fly)
- Check that we have a "thanks" page/route for each form
So, the main approach here will be:
php artisan zfw
That will look at all routes, find forms, and check them.
We should probably allow a route name to be passed in as a main parameter, so that we can just check one single form. (This will be quicker and also easier when testing).