Skip to content

Commit

Permalink
add keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
IonBazan committed Jul 15, 2020
1 parent bea7a8f commit db89c8d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 7 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,26 @@

Symfony-inspired package to list available services in Laravel IoC Container. Works with Laravel 5.4+, 6.x and 7.x.

# Example output

```
+--------------------------------------------------------------+-------------------------------------------------------------+--------+-------+
| Service ID | Class | Shared | Alias |
+--------------------------------------------------------------+-------------------------------------------------------------+--------+-------+
| IonBazan\Laravel\ContainerDebug\Tests\IContainerContractStub | IonBazan\Laravel\ContainerDebug\Tests\ContainerConcreteStub | No | No |
| IonBazan\Laravel\ContainerDebug\Tests\SingletonService | IonBazan\Laravel\ContainerDebug\Tests\SingletonService | Yes | No |
| alias.b | alias for "service.b" | No | Yes |
| alias.c | alias for "service.c" | No | Yes |
| service.a | IonBazan\Laravel\ContainerDebug\Tests\ServiceStubA | No | No |
| service.b | IonBazan\Laravel\ContainerDebug\Tests\ServiceStubB | No | No |
| service.c | IonBazan\Laravel\ContainerDebug\Tests\ServiceStubC | No | No |
| service.d | N/A | No | No |
| simple.value.array | <array> [10,20] | No | No |
| simple.value.int | <integer> 10 | No | No |
| simple.value.string | <string> test | No | No |
+--------------------------------------------------------------+-------------------------------------------------------------+--------+-------+
```

# Installation

```bash
Expand Down
21 changes: 14 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
"name": "ion-bazan/laravel-container-debug",
"type": "library",
"description": "Lists available services in Laravel IoC Container. Works with Laravel 5.4+, 6.x and 7.x.",
"keywords": [
"laravel",
"container",
"debug",
"services",
"command"
],
"license": "MIT",
"authors": [
{
Expand All @@ -19,6 +26,13 @@
"friendsofphp/php-cs-fixer": "^2.16",
"symfony/phpunit-bridge": "^4.4 || ^5.0"
},
"extra": {
"laravel": {
"providers": [
"IonBazan\\Laravel\\ContainerDebug\\ServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"IonBazan\\Laravel\\ContainerDebug\\": "src"
Expand All @@ -28,12 +42,5 @@
"psr-4": {
"IonBazan\\Laravel\\ContainerDebug\\Tests\\": "tests"
}
},
"extra": {
"laravel": {
"providers": [
"IonBazan\\Laravel\\ContainerDebug\\ServiceProvider"
]
}
}
}

0 comments on commit db89c8d

Please sign in to comment.