Downloads
Stars
Version
A Laravel package to build forms and validate form submissions.
You can install this package with composer:
composer require canvass/canvass-laravel
The package should automatically register itself.
You can publish the database migrations using the following command:
php artisan vendor:publish --provider="CanvassLaravel\CanvassServiceProvider" --tag="migrations"
After the migration has been published you can create the form and field tables by running the migrations:
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --provider="CanvassLaravel\CanvassServiceProvider" --tag="config"
Go to /admin/form
to see the Canvass interface to create forms and form fields.
You can find more information at the Canvass Core project.
You can add new Field types to extend Canvass.
\Canvass\Forge::addFieldPath('/the/file/path', '\The\Namespace\Path');
laravel-dir/resources/views/vendor/canvass/form_field/partials/types