PHP code example of trk / processwire-boost

1. Go to this page and download the library: Download trk/processwire-boost 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/ */

    

trk / processwire-boost example snippets




use Totoglu\Console\Boost\Schema\FieldSchemaExtender;

return [
    \Site\Boost\Schema\RepeaterMatrixSchemaExtender::class,
    // or new \Site\Boost\Schema\FieldsetPageSchemaExtender(),
];



declare(strict_types=1);

namespace Your\Namespace;

use Totoglu\Console\Boost\Install\Agents\Agent;

final class MyAgent extends Agent
{
    public function name(): string { return 'my_agent'; }
    public function displayName(): string { return 'My Agent'; }
    public function mcpConfigPath(): ?string { return '.my-agent/mcp.json'; }
    public function guidelinesPath(): string { return 'AGENTS.md'; }
}
bash
# Verify central sync
ls -la .agents/skills/pw-pages/SKILL.md

# Reinstall
php vendor/bin/wire boost:install --skills --agents="Cursor"
bash
ls wire/core/
php vendor/bin/wire list