PHP code example of reach-digital / docker-devbox

1. Go to this page and download the library: Download reach-digital/docker-devbox 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/ */

    

reach-digital / docker-devbox example snippets

bash
brew unlink [email protected] && brew link --force --overwrite [email protected]
shell
alias link-php74='brew unlink [email protected] && brew link --force --overwrite [email protected]'
alias link-php81='brew unlink [email protected] && brew link --force --overwrite [email protected]'
alias link-php82='brew unlink [email protected] && brew link --force --overwrite [email protected]'

  alias phpd="XDEBUG_SESSION=1 php -c \$(brew --prefix)/etc/php/\$(php -v | head -n1 | cut -c 5-7)/php-xdebug.ini"