PHP code example of thegeekengineer / laravel-packager

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

    

thegeekengineer / laravel-packager example snippets


TheGeekEnginee\Packager\PackagerServiceProvider::class,

if ($this->app->environment('local')) {
    $this->app->register('TheGeekEnginee\Packager\PackagerServiceProvider');
}
bash
php artisan vendor:publish --provider="TheGeekEnginee\Packager\PackagerServiceProvider"
bash
php artisan packager:get https://github.com/author/repository
php artisan packager:git https://github.com/author/repository
bash
php artisan packager:tests
xml
<testsuite name="Packages">
    <directory suffix="Test.php">./tests/packages</directory>
</testsuite>
bash
php artisan packager:list
bash
php artisan packager:list --git