PHP code example of appointer / deep-space-comlink
1. Go to this page and download the library: Download appointer/deep-space-comlink 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/ */
appointer / deep-space-comlink example snippets
// config/app.php
'providers' => [
...
\Appointer\DeepSpaceComlink\ComlinkServiceProvider::class,
];
// app/Providers/RouteServiceProvider.php
public function boot()
{
parent::boot();
Appointer\DeepSpaceComlink\DeepSpaceComlink::routes();
}
bash
php artisan vendor:publish --provider="Appointer\DeepSpaceComlink\ComlinkServiceProvider" --tag="config"
php artisan vendor:publish --provider="Appointer\DeepSpaceComlink\ComlinkServiceProvider" --tag="pushpackage"