Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sensiolabs/melody

One-file composer scripts
https://github.com/sensiolabs/melody

composer-scripts melody php

Last synced: about 14 hours ago
JSON representation

One-file composer scripts

Awesome Lists containing this project

README

        

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

Create a file named `test.php`:

```php
in(__DIR__)
->files()
->name('*.php')
;

foreach ($finder as $file) {
echo $file, "\n";
}
```

And simply run it:

```bash
$ melody run test.php
```

![demo](http://melody.sensiolabs.org/img/melody.gif)

More Information
----------------

Read the [documentation](http://melody.sensiolabs.org) for more information.