pardalsalcap / linter-leads
Linter Lead Manager
v5.0.0
2026-03-12 16:36 UTC
Requires
- php: ^8.2
- filament/filament: ^5.0
- flowframe/laravel-trend: ^v0.4.0
- illuminate/contracts: ^11.0|^12.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.9
- larastan/larastan: ^3.0
- laravel/pint: ^1.0
- nunomaduro/collision: ^8.0
- orchestra/testbench: ^9.13|^10.0
- pestphp/pest: ^3.0
- pestphp/pest-plugin-arch: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
This package is auto-updated.
Last update: 2026-03-12 17:20:38 UTC
README
Small leads module for projects built with pardalsalcap/linter.
This package provides:
- Lead storage and basic lead scoring
- Spam blacklist management
- Lead configuration management
- Filament resources for managing leads from the CMS
Compatibility
v3.x: compatible with Filament 3main: compatible with Filament 5
Installation
Install the package with Composer:
composer require pardalsalcap/linter-leads
Publish the config file and migrations:
php artisan vendor:publish --tag="linter-leads-config" php artisan vendor:publish --tag="linter-leads-migrations"
Run the migrations:
php artisan migrate
Run the installation command:
php artisan linter-leads:install
The installation command can:
- Populate the spam blacklist
- Populate the default lead configuration
- Copy the package models to
app/Models - Copy the Filament resources to
app/Filament/Resources
Configuration
After publishing the config, you can adjust these values in config/linter-leads.php:
- Available lead statuses
- Field mappings for supported form types
- Notification email and name for lead management
- Spam score threshold
Default mappings included:
contact:email,phone,name,messagenewsletter:email
Typical Setup Flow
composer require pardalsalcap/linter-leads php artisan vendor:publish --tag="linter-leads-config" php artisan vendor:publish --tag="linter-leads-migrations" php artisan migrate php artisan linter-leads:install
Development
Run tests:
composer test
Run static analysis:
composer analyse
License
The MIT License (MIT). See LICENSE.md.