Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sensiolabs/melody
- Owner: sensiolabs
- License: mit
- Archived: true
- Created: 2014-12-05T18:37:58.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-06-01T06:26:12.000Z (over 5 years ago)
- Last Synced: 2024-08-01T20:47:26.663Z (3 months ago)
- Topics: composer-scripts, melody, php
- Language: PHP
- Homepage:
- Size: 162 KB
- Stars: 397
- Watchers: 19
- Forks: 30
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-composer - Melody - One-file composer scripts. (Scripts / Support)
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.