-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
1,114 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,16 @@ | ||
# php-vendor-creadits | ||
php-vendor-creadits creates CREDITS file from LICENSE files of dependencies | ||
|
||
## Install | ||
|
||
### From Composer | ||
|
||
```bash | ||
composer require --dev smeghead/php-vendor-credits | ||
``` | ||
|
||
## Usage | ||
|
||
```bash | ||
$ vendor/bin/php-class-diagram . > CREDITS | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
require __DIR__ . '/../vendor/autoload.php'; | ||
|
||
use Smeghead\PhpVendorCredits\Command\CreditsCommand; | ||
use Symfony\Component\Console\Application; | ||
|
||
$app = new Application('php-vendor-credits', '0.0.1'); | ||
$app->add(new CreditsCommand('credits')); | ||
$app->setDefaultCommand('credits', true); | ||
$app->run(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.