PHP Package: phpoffice/common

PHPOffice Common is a PHP library providing common functionalities for PHPOffice packages, aiding in efficient and secure development of PHP applications.

Current Version: 1.0.5
Last Updated: 2025-02-28
PHP Requirement: >=7.1
Dependencies:
phpoffice/phpspreadsheet
phpoffice/phpword
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

PHPOffice Common is a foundational PHP library designed to streamline and enhance PHP development, offering a wide range of utility functions, abstract classes, and interfaces. By integrating PHPOffice Common, developers can improve code quality, readability, and maintainability. This library serves as a crucial building block for various PHPOffice packages, enabling developers to create powerful, feature-rich applications effortlessly.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.0.5

Download Download v1.0.5

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/phpoffice/common/1.0.5/loader.php';
require_once 'libs/phpoffice/phpspreadsheet/4.3.1/loader.php';
require_once 'libs/phpoffice/phpword/1.4.0/loader.php';

use PhpOffice\Common\Autoloader;
use PhpOffice\Common\Base;

$obj = new Autoloader();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.