1. Go to this page and download the library: Download oneofftech/parse-client 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/ */
oneofftech / parse-client example snippets
use OneOffTech\Parse\Client\Connectors\ParseConnector;
$client = new ParseConnector(baseUrl: "http://localhost:5000");
/** @var \OneOffTech\Parse\Client\Dto\DocumentDto */
$document = $client->parse("https://domain.internal/document.pdf");
use OneOffTech\Parse\Client\Connectors\ParseConnector;
$client = new ParseConnector("token");
/** @var \OneOffTech\Parse\Client\Dto\DocumentDto */
$document = $client->parse("https://domain.internal/document.pdf");
use OneOffTech\Parse\Client\ParseOption;
use OneOffTech\Parse\Client\DocumentProcessor;
use OneOffTech\Parse\Client\Connectors\ParseConnector;
$client = new ParseConnector("token");
/** @var \OneOffTech\Parse\Client\Dto\DocumentDto */
$document = $client->parse(
url: "https://domain.internal/document.pdf",
options: new ParseOption(DocumentProcessor::PYMUPDF)
);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.