Download the PHP package cleaniquecoders/eligify without Composer
On this page you can find all versions of the php package cleaniquecoders/eligify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cleaniquecoders/eligify
More information about cleaniquecoders/eligify
Files in cleaniquecoders/eligify
Package eligify
Short Description Eligify is a flexible rule and criteria engine that determines whether an entity — such as a person, application, or transaction — meets the defined acceptance conditions. It powers decision-making systems by making eligibility data-driven, traceable, and automatable.
License MIT
Homepage https://github.com/cleaniquecoders/eligify
Informations about the package eligify
Eligify
Eligify is a flexible rule and criteria engine that determines whether an entity — such as a person, application, or transaction — meets the defined acceptance conditions. It powers decision-making systems by making eligibility data-driven, traceable, and automatable.
Features
- 🧱 Criteria Builder - Define eligibility requirements with weighted rules
- ⚖️ Rule Engine - 16+ operators for comprehensive validation
- 🎯 Evaluator - Real-time eligibility checks with detailed scoring
- 🔄 Workflow Manager - Trigger actions on pass/fail/excellent scores
- 🧾 Audit Log - Complete traceability of all decisions
- 🎨 Web Dashboard - Optional Telescope-style UI for management (disabled by default)
- 🧩 Model Integration - Seamless Laravel Eloquent integration
- 📊 Flexible Scoring - Weighted, pass/fail, percentage, and custom methods
- ⚡ Smart Caching - Built-in evaluation and rule compilation caching for optimal performance (experimental)
- 💾 Multi-Driver Storage - Store criteria/rules in database, local filesystem, or S3 with caching
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
Usage
Quick Example
Storage Drivers
By default, Eligify stores criteria and rules in the database. You can switch to file-based or S3 storage for scenarios where rules grow large or you prefer storing configuration outside the database.
| Driver | Description |
|---|---|
database |
Default. Uses Eloquent models (zero change for existing users) |
file |
Stores each criteria as a JSON file on any Laravel filesystem disk |
s3 |
Same as file driver, using an S3 disk |
Note: Evaluations and audit logs always remain in the database regardless of the storage driver.
Configuration
Switching Storage Drivers
Migrating Between Drivers
Export existing criteria from database to JSON files:
Import JSON files into database:
You can also target a specific criteria and disk:
Security
Eligify includes built-in security features:
- Input Validation: All evaluation data is validated for length and suspicious content
- Rate Limiting: Configurable rate limits to prevent abuse
- Authorization: Dashboard access controlled via Gates/closures (similar to Telescope)
- Audit Logging: Complete audit trail of all evaluations and decisions
- Safe Operators: Dangerous operators like regex can be disabled in production
Security Configuration
Dashboard Authorization
Performance
Eligify is optimized for high-performance scenarios:
- Smart Caching: Evaluation results and rule compilation caching
- Eager Loading: Optimized database queries to prevent N+1 problems
- Batch Processing: Efficient batch evaluation with memory management
- Query Optimization: Rules are loaded with criteria to minimize database hits
Performance Configuration
Optional Web Dashboard
Enable the dashboard for visual management:
Access: http://your-app.test/eligify
Authorization (Production):
Complete Documentation
📖 Full Documentation
Testing
Upgrade Guide
Please see UPGRADE for step-by-step instructions when upgrading between versions.
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
- Nasrul Hazim Bin Mohamad
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of eligify with dependencies
cleaniquecoders/php-env-key-manager Version ^1.1
cleaniquecoders/traitify Version ^1.2
illuminate/contracts Version ^11.0||^12.0||^13.0
livewire/livewire Version ^3.0 || ^4.0
lorisleiva/laravel-actions Version ^2.9
spatie/laravel-package-tools Version ^1.16