PHP code example of liberusoftware / automation-laravel

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

    

liberusoftware / automation-laravel example snippets

bash
git clone https://github.com/liberusoftware/automation-laravel.git
cd automation-laravel
composer install
cp .env.example .env
php artisan key:generate
npm install
npm run build
php artisan migrate
php artisan serve
bash
php artisan module:features
php artisan module:features health
php artisan module:status search
bash
XDEBUG_MODE=coverage php artisan test --coverage-clover=coverage.xml --min=100
bash
# Verify all package-to-repository mappings without submitting
php scripts/submit-packagist.php --dry-run

# Obtain the MAIN API token from packagist.org/profile, then bulk register the packages
export PACKAGIST_USERNAME='your-packagist-username'
export PACKAGIST_API_TOKEN='your-packagist-api-token'
php scripts/submit-packagist.php
unset PACKAGIST_API_TOKEN