PHP code example of dpi / drupal-local

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

    

dpi / drupal-local example snippets

bash
docker-compose exec php-cli bash
drush si standard -y
bash
drush sql-dump --result-file=../sql/init/dump.sql
bash
phpstan analyse

docker-compose exec php-cli bash
blackfire curl http://nginx:8080/