PHP code example of lindor03 / project-memory
1. Go to this page and download the library: Download lindor03/project-memory library . Choose the download type require .
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lindor03 / project-memory example snippets
'modules' => [
'billing' => [
'name' => 'Billing',
'paths' => ['app/Services/Billing', 'app/Models/Invoice.php'],
],
],
bash
php artisan project-memory:install
php artisan ai:scan
php artisan ai:doctor
bash
php artisan project-memory:install --migrate
php artisan project-memory:install --cursor
bash
php artisan ai:doctor --json
php artisan ai:rules --json
php artisan ai:overview --budget=1200 --json
php artisan ai:modules --json
php artisan ai:context billing --query="invoice update" --budget=2000 --json
php artisan ai:symbol 'App\Services\Billing\InvoiceService::update' --json
php artisan ai:impact 'App\Services\Billing\InvoiceService::update' --json
php artisan ai:sync --json
bash
php vendor/lindor03/project-memory/bin/benchmark.php 100
json
{
"mcpServers": {
"project-memory": {
"command": "php",
"args": ["vendor/bin/project-memory-mcp"]
}
}
}
bash
composer update lindor03/project-memory
php artisan project-memory:install --migrate
php artisan ai:doctor --json