Develop powerful document rendering tools in PHP using REST APIs to accurately view business documents in all popular file formats.
Start Free TrialQuickly get started using GroupDocs.Viewer Cloud with the help of GroupDocs.Viewer Cloud SDK for PHP. The SDK is a modern, open-source PHP library that makes it easy to integrate GroupDocs.Viewer Cloud API in your own PHP applications. With the SDK, you can benefit from all the features of the API in a much easier and quicker manner. The SDK provides an abstraction over the “low-level” details of making requests and handling responses, for a simpler and more intuitive coding experience.
Check out GroupDocs.Viewer Cloud SDK for PHP at GitHub if you are looking for the source code to view file in the Cloud.
You can try GroupDocs.Viewer Low-Code PHP APIs without any limitations.
GroupDocs.Viewer Cloud is also available as Docker image which can be used to self-host the service. Or you may build your own services using GroupDocs.Viewer High-code APIs which currently drive our REST APIs.
Render and display various document formats within PHP applications.
Choose from multiple viewing options, including whole documents, specific pages, or custom page ranges.
View documents in HTML, image (JPEG, PNG, TIFF), or PDF formats.
Easily incorporate document viewing capabilities into PHP applications.
Customize viewer settings such as zoom levels, rotation, and text selection.
Extract document metadata, including properties, page count, and file size.
Add watermarks to documents and annotate them with text comments, highlights, and shapes.
Ensure secure communication between the PHP application and GroupDocs.Viewer Cloud API.
Utilize an efficient caching mechanism to optimize rendering performance.
Benefit from the high availability and reliability of GroupDocs.Viewer Cloud for PHP.
Convert documents to different formats, such as Word to PDF or Excel to HTML.
Generate thumbnail images for document pages to provide a quick overview.
Extract text content from documents for further processing or analysis.
Print documents directly from your PHP application using GroupDocs.Viewer Cloud.
Rotate document pages to adjust the orientation as needed.
Zoom in or out of document pages to control the level of detail displayed.
Apply pagination to large documents for easier navigation and reading.
Navigate through document pages using intuitive controls, such as next/previous buttons or page dropdown.
Ensure a seamless viewing experience on different devices and screen sizes with responsive design.
Protect documents with password encryption to restrict unauthorized access.
Ensure compatibility with popular web browsers, including Chrome, Firefox, Safari, and Edge.
Integrate with popular file storage services like Dropbox, Google Drive, or Amazon S3 to access and render documents.
Perform full-text search within documents to quickly locate specific content.
Use thumbnail images as a visual navigation aid to jump to specific document pages.
Create bookmarks within documents to bookmark specific sections or pages.
Update document metadata, such as title, author, or keywords.
Extract individual document pages as separate image files.
Customize the appearance and behavior of document pagination controls.
Preload document pages in advance for smoother and faster navigation.
Customize the appearance and layout of document thumbnail images.
Configure printing options, such as page size, orientation, and number of copies.
Customize zoom levels and options for document viewing.
Extract individual images embedded within documents.
Customize security options, such as encryption algorithms or password complexity.
Provide different zooming modes, such as fit to width, fit to height, or actual size.
Customize printing options, such as headers, footers, or page numbering.
Extract individual pages or ranges of pages from a document.
Generate custom thumbnail images for specific document pages.
Preserve and navigate hyperlinks within documents.
Render document images with high quality and fidelity.
Provide a responsive user interface for document viewing on different devices.
Encrypt documents with passwords to protect sensitive information.
Control document access based on user roles and permissions.
View and render CAD drawings and models within documents.
Export document annotations and markups for further analysis or reporting.
Navigate through document pages using thumbnail images for quick navigation.
Provide different fit modes for document pages, such as fit to width or fit to height.
Add custom labels or captions to document pages for easy identification.
Enable users to add comments and engage in discussions within documents.
Preload document thumbnails in advance for faster thumbnail navigation.
Support custom fonts within documents for accurate rendering.
Optimize document viewing experience on mobile devices with responsive design.
Customize text search options, such as case sensitivity or search within specific fields.
Extract individual document pages as separate image files.
Extract text content from documents while preserving formatting and styles.
Apply dynamic watermarks to documents with variables such as timestamps or user information.
Control the quality and compression settings for rendered document images.
Export document page thumbnails as separate image files.
Convert documents from one file format to another, such as Word to PDF or Excel to HTML.
Scale and rotate document images for better visualization and printing.
Compress document images to reduce file size while maintaining visual quality.
Control the resolution and DPI (dots per inch) of rendered document images.
Support various text encodings within documents, including Unicode or specific character sets.
Extract text content from documents while preserving layout and formatting information.
Customize the appearance and behavior of document pagination controls.
Extract document content as plain text for analysis or indexing purposes.
Adjust print scaling options for accurate and proportional document printing.
Encrypt document content to protect sensitive information.
The cloud-based viewer API has the ability to display different document formats without compromising on the performance. Features of the API can be used via the SDK, with just a few lines of code.
//Get your App SID, App Key and Storage Name at https://dashboard.groupdocs.cloud (free registration is required).
// Initializing and setting configuration
$configuration = new GroupDocs\Viewer\Configuration();
$configuration->setAppSid($AppSID);
$configuration->setAppKey($AppKey);
$configuration->setApiBaseUrl($ApiBaseURL);
$apiInstance = new GroupDocs\Viewer\ViewerApi($configuration);
$viewOptions = new GroupDocs\Viewer\Model\ViewOptions();
$fileInfo = new GroupDocs\Viewer\Model\FileInfo();
$fileInfo->setFilePath("viewerdocs\\document.docx");
$fileInfo->setPassword("password");
$fileInfo->setStorageName($StorageName);
$viewOptions->setFileInfo($fileInfo);
$request = new GroupDocs\Viewer\Model\Requests\CreateViewRequest($viewOptions);
$response = $apiInstance->createView($request);
Get started using GroupDocs.Viewer Cloud REST API with the GroupDocs.Viewer Cloud SDK for PHP. It facilitates the users and speeds up the development of applications written in PHP while taking care of low-level details of making requests and handling responses and lets the users focus on writing code specific to their particular project.
GroupDocs.Viewer Cloud SDK is 100% tested and out-of-the-box running. The SDK is open source and has an MIT license. You can use it, and even customize it for absolutely free of any charge.