PHPackages                             codad5/php-inex - 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. codad5/php-inex

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

codad5/php-inex
===============

This is a php library that helps to simulate node.js import / export

v1.0.0(3y ago)260MITPHPPHP &gt;=7.1

Since Dec 5Pushed 3y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

PHP IMPORTER
============

[](#php-importer)

This is a package that simulates node.js import feature.

Installing it
-------------

[](#installing-it)

```
composer require codad5/php-inex

```

SAMPLE FOR DEFAULT EXPORT
-------------------------

[](#sample-for-default-export)

##### Exporting data

[](#exporting-data)

- Export.js

    ```
    export default const greet = () => {
        console.log('hello')
    }
    ```
- Export.php

    ```
