PHP code example of isaachatilima / laracanon

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

    

isaachatilima / laracanon example snippets




return ['enabled' => true];
sh
php artisan canon:list
php artisan canon:install
php artisan canon:install <item>
php artisan canon:install <item-a> <item-b>
php artisan canon:install --dry-run
php artisan canon:install <item-a> <item-b> --dry-run
sh
php artisan canon:install insights --dry-run
php artisan canon:install insights
sh
php artisan canon:install phpstan --dry-run
php artisan canon:install phpstan
sh
composer install
./vendor/bin/phpunit tests/Unit/Items/ItemCatalogTest.php tests/Integration/Items/CatalogInstallationTest.php
./vendor/bin/pint --test tests/Unit/Items/ItemCatalogTest.php tests/Integration/Items/CatalogInstallationTest.php