PHPackages                             ribojhin/excelmacro - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. ribojhin/excelmacro

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

ribojhin/excelmacro
===================

Edit an Excel file that contains macros

0.1.4(1y ago)253[1 issues](https://github.com/ribojhin/excelmacro/issues)MITPHPPHP &gt;=7.4.26

Since Jan 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ribojhin/excelmacro)[ Packagist](https://packagist.org/packages/ribojhin/excelmacro)[ Docs](https://github.com/ribojhin/excelmacro)[ RSS](/packages/ribojhin-excelmacro/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (6)Used By (0)

Edit an Excel file that contains macros for PHP
===============================================

[](#edit-an-excel-file-that-contains-macros-for-php)

This PHP library allows you to modify an Excel file that contains macros without disabling them. For most PHP projects, the library () allows you to manipulate Excel files. However, when you modify an Excel file with macro (xlsm), the macros no longer work. This PHP library will allow you to modify XLSM files without disabling macros. The library only applies to Excel files with macros

Requirements
------------

[](#requirements)

- [PHP 7.4.0 or higher with CURL Support](http://www.php.net/)

Installation
------------

[](#installation)

You can use **Composer** or simply **Download the Release**

#### Composer

[](#composer)

The preferred method is via [composer](https://getcomposer.org). Follow the [installation instructions](https://getcomposer.org/doc/00-intro.md) if you do not already have composer installed.

Once composer is installed, execute the following command in your project root to install this library:

```
  composer require ribojhin/excelmacro
```

Finally, be sure to include the autoloader:

```
