PHP code example of palpalani / page-source-sidecar
1. Go to this page and download the library: Download palpalani/page-source-sidecar 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/ */
palpalani / page-source-sidecar example snippets
/*
* All of your function classes that you'd like to deploy go here.
*/
'functions' => [
\Palpalani\PageSource\PageSourceFunction::class,
],
use Palpalani\PageSource\PageSourceFunction;
echo PageSourceFunction::execute([
'url' => 'https://targetbay.com',
'options' => '',
])->body();
php artisan sidecar:deploy --activate