LaravelPackages.net
Acme Inc.
Toggle sidebar
canvass/canvass-laravel

Laravel Service Provider for the Canvass form builder

82
0
v1.02.01
About canvass/canvass-laravel

canvass/canvass-laravel is a Laravel package for laravel service provider for the canvass form builder. It currently has 0 GitHub stars and 82 downloads on Packagist (latest version v1.02.01). Install it with composer require canvass/canvass-laravel. Discover more Laravel packages by canvass or browse all Laravel packages to compare alternatives.

Last updated

Canvass Laravel

A Laravel package to build forms and validate form submissions.

Installation

You can install this package with composer:

composer require canvass/canvass-laravel

The package should automatically register itself.

Migrations

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

Config

You can publish the config file with:

php artisan vendor:publish --provider="CanvassLaravel\CanvassServiceProvider" --tag="config"

Next Steps

Go to /admin/form to see the Canvass interface to create forms and form fields.

Documentation

You can find more information at the Canvass Core project.

Extending Canvass

You can add new Field types to extend Canvass.

Adding a new Field

  • Add a folder that will have FieldData, FieldType and Validate files
  • Add the parent path to Forge:
\Canvass\Forge::addFieldPath('/the/file/path', '\The\Namespace\Path');
  • Add a view file for the type in:
laravel-dir/resources/views/vendor/canvass/form_field/partials/types

Star History Chart