Sensiolabs Melody Save Abandoned

One-file composer scripts

Project README

Melody - One-file composer scripts

Create a file named test.php:

<?php
<<<CONFIG
packages:
    - "symfony/finder: ~2.8"
CONFIG;

$finder = Symfony\Component\Finder\Finder::create()
    ->in(__DIR__)
    ->files()
    ->name('*.php')
;

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

And simply run it:

$ melody run test.php

demo

More Information

Read the documentation for more information.

Open Source Agenda is not affiliated with "Sensiolabs Melody" Project. README Source: sensiolabs/melody
Stars
403
Open Issues
0
Last Commit
4 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating