tmarois / laravel-code-truncator
A Laravel command to truncate your codebase to fit within AI token limits.
v1.0.2
2025-04-10 21:22 UTC
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