sensiolabs / melody
One file composer scripts
Installs: 1 209
Dependents: 1
Suggesters: 0
Security: 0
Stars: 389
Watchers: 19
Forks: 25
Open Issues: 5
Requires
- php: >=5.5
- symfony/console: ^3.1
- symfony/filesystem: ^2.5|^3.0
- symfony/finder: ^2.5|^3.0
- symfony/process: ^2.5|^3.0
- symfony/yaml: ^2.5|^3.0
Requires (Dev)
- mikey179/vfsstream: ~1.4
- phpunit/phpunit: 4.3.*
This package is not auto-updated.
Last update: 2023-07-06 10:06:04 UTC
README
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
More Information
Read the documentation for more information.