PHP code example of tncrazvan / catpaw

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

    

tncrazvan / catpaw example snippets


// src/main.php
use Psr\Log\LoggerInterface;
function main(LoggerInterface $logger){
  $logger->info("hello world");
}

  apt install php8.3-xdebug
  

php out/app.phar