PHP code example of karolgolec / laravel-hosting

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

    

karolgolec / laravel-hosting example snippets


/opt/alt/php82/usr/bin/php -c ~/php-cli-laravel-seohost.ini /home/{{HOST_USER}}/domains/{{DOMAIN}}/public_html/current/artisan schedule:run >> /dev/null 2>&1