PHP code example of m7md-5ttab / laravel-shared

1. Go to this page and download the library: Download m7md-5ttab/laravel-shared 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/ */

    

m7md-5ttab / laravel-shared example snippets

bash
php artisan vendor:publish --tag=hosting-shared-config
bash
php artisan hosting:run --target=/home/account/public_html
bash
php artisan hosting:rollback
bash
php artisan hosting:run --dry-run
php artisan hosting:run --copy
php artisan hosting:run --target=/home/account/public_html --tag
php artisan hosting:run --symlink --force
bash
php artisan hosting:rollback
php artisan hosting:rollback --snapshot=hosting-deploy-2026-05-14-001
php artisan hosting:rollback --tag=hosting-deploy-2026-05-14-003
php artisan hosting:rollback --tag=hosting-deploy-2026-05-14-003 --force
bash
php artisan vendor:publish --tag=hosting-shared-config
bash
php artisan hosting:run --target=/home/account/public_html
bash
php artisan hosting:run --copy