PHPackages                             djeux/array-export - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. djeux/array-export

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

djeux/array-export
==================

Export array as a formatted string, safe to save as a file

00[1 PRs](https://github.com/djeux/array-export/pulls)PHP

Since Jun 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/djeux/array-export)[ Packagist](https://packagist.org/packages/djeux/array-export)[ RSS](/packages/djeux-array-export/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Array export
============

[](#array-export)

Export an array as a string that can be later saved as a file with proper formatting.

As a replacement for `var_export`, supports defining custom indentation size and character.

Usage:

```
