PHPackages                             grei/melody2 - 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. grei/melody2

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

grei/melody2
============

One file composer scripts

v1.0.0(4y ago)39MITPHPPHP &gt;=5.5

Since Jan 3Pushed 3y agoCompare

[ Source](https://github.com/guangrei/melody2)[ Packagist](https://packagist.org/packages/grei/melody2)[ RSS](/packages/grei-melody2/feed)WikiDiscussions master Synced 1mo ago

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

Melody - One-file composer scripts
==================================

[](#melody---one-file-composer-scripts)

INSTALLATION
------------

[](#installation)

with composer

```
composer global require grei/melody2
```

or download melody.phar directly, from [release](https://github.com/guangrei/melody2/releases).

EXAMPLE
-------

[](#example)

Create a file named `test.php`:

```
