tmarois / laravel-code-truncator
A Laravel command to truncate your codebase to fit within AI token limits.
Installs: 159
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/tmarois/laravel-code-truncator
Requires
- php: ^8.1
- illuminate/support: ^11.0 || ^12.0
Requires (Dev)
- orchestra/testbench: ^9.0
README
This service is used to help AI understand the context of your Laravel project.
Install
composer require tmarois/laravel-code-truncator
Usage
Run the truncate service on your project:
php artisan code:truncate
File will be stored in laravel storage
Running local tests
Run unit tests (on the package):
./vendor/bin/phpunit