roberts / leads
Laravel package for Workers Compensation Insurance
Fund package maintenance!
drewroberts
Requires
- php: ^7.4|^8.0
- ext-json: *
- tipoff/authorization: ^2.10.0
- tipoff/locations: ^2.14.1
- tipoff/statuses: ^2.2.1
- tipoff/support: ^2.2.0
Requires (Dev)
- tipoff/test-support: ^2.0.1
README
Package for lead generation in Laravel with dynamic forms & questions. Primarily used for business leads.
Installation
You can install the package via composer:
composer require roberts/leads
You can publish the config file with:
php artisan vendor:publish --provider="Roberts\Leads\LeadsServiceProvider" --tag="leads-config"
Publish the SCSS files:
php artisan vendor:publish --provider="Roberts\Leads\LeadsServiceProvider" --tag="styles"
Now import the published SCSS file into your main SCSS.
Models
We include the following model in this package:
List of Models
- Lead
- Lead Business
For each of these models, this package implements an authorization policy that extends the roles and permissions approach of the tipoff/authorization package. The policies for each model in this package are registered through the package and do not need to be registered manually.
The models also have Laravel Nova resources in this package and they are also registered through the package and do not need to be registered manually.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.