From 4e519fe36d2fa42d498dd149d2dc30a8fde5cb81 Mon Sep 17 00:00:00 2001 From: Tomas Rutkauskas Date: Fri, 6 Nov 2026 16:40:51 +0200 Subject: [PATCH] docs: link each example file from the README The README linked the examples only through the folder URL (/tree/main/...). https://github.com/robots.txt disallows /*/tree/ for Googlebot (User-agent: *) and for the AI crawlers, so search engines never read the folder listing. Each example file is now also linked by its /blob/ URL, which they may crawl. Co-Authored-By: Claude Opus 5.5 --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 3d33130..aa28373 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,15 @@ ConvertApi::setApiBase('https://eu-v2.convertapi.com/'); Find more advanced examples in the [examples/](https://github.com/ConvertAPI/convertapi-library-php/tree/main/examples) folder. +- [conversions_chaining.php](https://github.com/ConvertAPI/convertapi-library-php/blob/main/examples/conversions_chaining.php) - Chain two conversions: PDF to JPG images, then the images to a ZIP +- [convert_stream.php](https://github.com/ConvertAPI/convertapi-library-php/blob/main/examples/convert_stream.php) - Convert text from an in-memory stream to PDF +- [convert_url_to_pdf.php](https://github.com/ConvertAPI/convertapi-library-php/blob/main/examples/convert_url_to_pdf.php) - Convert a web page URL to PDF +- [convert_word_to_pdf_and_png.php](https://github.com/ConvertAPI/convertapi-library-php/blob/main/examples/convert_word_to_pdf_and_png.php) - Convert one Word DOCX file to PDF and to PNG +- [error_handling.php](https://github.com/ConvertAPI/convertapi-library-php/blob/main/examples/error_handling.php) - Catch an API error and print its code and message +- [retrieve_user_information.php](https://github.com/ConvertAPI/convertapi-library-php/blob/main/examples/retrieve_user_information.php) - Retrieve your ConvertAPI account information +- [split_and_merge_pdf.php](https://github.com/ConvertAPI/convertapi-library-php/blob/main/examples/split_and_merge_pdf.php) - Split a PDF and merge its first and last pages into a new PDF +- [vanilla_php.php](https://github.com/ConvertAPI/convertapi-library-php/blob/main/examples/vanilla_php.php) - Convert DOCX to PDF with plain PHP and cURL, without this library + ## Development Testing is done with PHPUnit: