1. Go to this page and download the library: Download mnfst/manifest-php 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/ */
mnfst / manifest-php example snippets
use function Mnfst\manifest;
manifest(); // before any HTTP call
use Illuminate\Support\Facades\Http;
$response = Http::post('https://api.example.com/orders', [
'limit' => 500, // Invalid? Manifest fixes it and retries.
]);
echo $response->status(); // See the 200 OK response.
sh
pecl install opentelemetry && docker-php-ext-enable opentelemetry
dockerfile
RUN pecl install opentelemetry && docker-php-ext-enable opentelemetry
"Install Manifest in this app: https://app-staging.manifest.build/prompt-php.md"
ini
; php.ini, a .user.ini, or your php-fpm pool config
auto_prepend_file = vendor/mnfst/manifest-php/prepend.php
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.