Download the PHP package vitorsreis/sift without Composer
On this page you can find all versions of the php package vitorsreis/sift. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vitorsreis/sift
More information about vitorsreis/sift
Files in vitorsreis/sift
Package sift
Short Description AI-optimized PHP tool wrapper with intelligent output control.
License MIT
Homepage https://github.com/vitorsreis/sift
Informations about the package sift
AI-optimized PHP tool wrapper with intelligent output control.
Sift is a complete PHP CLI wrapper that provides controlled execution of PHP tools with structured, token-optimized output designed specifically for AI agents and automated workflows.
Why Sift
- Token Reduction: Dramatically reduce token consumption with intelligent output sizing
- Complete Control: Only pre-mapped commands and arguments are allowed
- Smart Rendering: Three output modes tuned for different needs (compact/normal/full)
- Standardized Output: Unified structure across all tools
- Process Visibility: Optional real-time progress display that doesn't affect final output
Installation
Install Sift as a development dependency:
Or download the latest PHAR release.
Quick Start
Initialize a project config:
Run a tool through Sift:
AI Setup
If you use coding agents, you can reference AI_INSTRUCTIONS.md from your project's AI instructions so the agent learns to use Sift in a token-efficient way.
Example note in AGENTS.md:
Supported Tools
phpunit- PHPUnit test runnerpest- Pest PHP testing frameworkparatest- Parallel testingphpstan- Static analysisphpcs/phpcbf- Code standards checkingpsalm- Static analysis toolrector- Automated refactoringpint- Laravel Pint code formattercomposer- Composer package manageraudit,licenses,outdated, andshowsubcommands
Documentation
Full Documentation
License
Released under the MIT license.
All versions of sift with dependencies
ext-json Version *
ext-simplexml Version *
symfony/process Version ^7.4 || ^8.0