PHP code example of mortimer333 / dullahan-project

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

    

mortimer333 / dullahan-project example snippets

bash
APP_ENV=test php bin/console doctrine:fixtures:load
bash
php vendor/bin/phpmd src text phpmd.xml
php vendor/bin/phpmd tests text phpmd.xml
bash
php vendor/bin/phpstan analyse src tests
bash
Could not write file: /tmp/phpstan/resultCache.php (file_put_contents(/tmp/phpstan/resultCache.php): Failed to open stream: Permission denied)
bash
vendor/bin/php-cs-fixer fix --verbose
bash
Uncaught RuntimeException: PHP Error: mkdir(): Permission denied in /var/www/html/boardmeister_internal/vendor/vimeo/psalm/src/Psalm/Config.php:2210 for command with CLI args "vendor/bin/psalm --taint-analysis" in /var/www/html/boardmeister_internal/vendor/vimeo/psalm/src/Psalm/Internal/ErrorHandler.php:75