PHP code example of pupocz / tracy-claude-panel

1. Go to this page and download the library: Download pupocz/tracy-claude-panel 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/ */

    

pupocz / tracy-claude-panel example snippets


use PuPoC\TracyClaudePanel\ClaudeBlueScreenPanel;

Tracy\Debugger::enable();
ClaudeBlueScreenPanel::register(__DIR__ . '/app');

$application->onRequest[] = [ClaudeBlueScreenPanel::class, 'onRequest'];

Error: User Warning — Invalid link: Missing parameter $id etail
Presenter: User:Admin:ExternalLecturerDetail:default
File: app/Modules/User/Presentation/Admin/ExternalLecturerDetail/ExternalLecturerDetailPresenter.php:63

Source:
   59:         $this['pageHeader']->setBackLink($this->link('ExternalLecturers:default'));
   60:
   61:         if ($this->getUser()->isAllowed('ExternalLecturers', 'edit')) {
   62:             if ($person->getSlug()) {
 → 63:                 $this['pageHeader']->add('Profile', $this->link(':User:Front:Profile:default', ['slug' => $person->getSlug()]))
   64:                     ->setIcon('visibility');
   65:             }
   66:         }
   67:     }

Args: Component::link(':User:Front:Profile:default', ['slug': 'ivan-omavka'])

Stack (app only):
  app/Modules/User/Presentation/Admin/ExternalLecturerDetail/ExternalLecturerDetailPresenter.php:63 Component::link()