PHP code example of oliverearl / godsays-php

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

    

oliverearl / godsays-php example snippets


$oracle = new TAD\God\God();
echo 'God says: ' . $oracle->speak();

// You can also access it via the helper function:
echo 'God also says: ' . godsays();
bash
composer