PHP code example of nodus-it / dev-tools

1. Go to this page and download the library: Download nodus-it/dev-tools 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/ */

    

nodus-it / dev-tools example snippets


// tests/Arch/NodusBaselineTest.php


declare(strict_types=1);

use Nodus\DevTools\Arch;

Arch::baseline();

Arch::baseline(
    namespace: 'App',        // PSR-4 prefix of the application code
    path: 'app',             // matching directory, relative to the project root
    ignoring: ['passthru'],  // justified exceptions to the Pest presets
);