Skip to content

Commit 97f547b

Browse files
author
Xavier Barbosa
authored
Merge pull request #10 from madewithlove/feature/docs
Updated documentation with usage information.
2 parents 93c18c2 + 78f6a64 commit 97f547b

File tree

2 files changed

+23
-25
lines changed

2 files changed

+23
-25
lines changed

composer.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
{
22
"name": "madewithlove/laravel-debug-console",
3+
"description": "Works as a console viewer for laravel debugbar.",
4+
"keywords": ["laravel", "debugbar", "debug", "console"],
35
"license": "MIT",
4-
"description": "Works as a console view for laravel debug bar.",
56
"authors": [
67
{
7-
"name": "Xavier Barbosa",
8-
"email": "xavier@madewithlove.be"
8+
"name": "madewithlove",
9+
"email": "heroes@madewithlove.be"
910
}
1011
],
1112
"require": {
12-
"illuminate/console": ">5.3",
13-
"barryvdh/laravel-debugbar": ">2.4",
14-
"clue/stdio-react": "^2.1"
13+
"php": ">=5.5.9",
14+
"illuminate/console": "5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*",
15+
"barryvdh/laravel-debugbar": "~2.4|~3.1",
16+
"clue/stdio-react": "~2.1"
1517
},
1618
"autoload": {
1719
"psr-4": {

readme.md

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,25 @@
11
# Laravel Debug Console
22

3-
Lets you keep an eye on your laravel application without intefering with your application response.
4-
Perfect if you are working with apis.
3+
Use as an alternative to view collected information from [Laravel Debugbar](https://github.com/barryvdh/laravel-debugbar) package.
4+
Useful if you are building apis or running console commands.
55

6-
## Installation instructions
6+
![php artisan app:debug queries](https://user-images.githubusercontent.com/3688705/41133243-9a32d442-6abd-11e8-9600-18c089440967.png)
77

8-
This package is still in development and not on packagist. To test it you can install it by adding it
9-
has a repository to your composer.json file.
8+
## Installation
109

11-
```json
12-
"repositories": [
13-
{
14-
"type": "path",
15-
"url": "../laravel-debug-console-package"
16-
}
17-
],
18-
"require-dev": {
19-
"madewithlove/laravel-debug-console": "*"
20-
},
21-
"minimum-stability": "dev",
22-
"prefer-stable": true
10+
You can install the latest version via [composer](https://getcomposer.org/):
11+
```bash
12+
composer require --dev madewithlove/laravel-debug-console
2313
```
2414

25-
and then run `composer update`.
15+
Add the service provider to `config/app.php` if you are on laravel 5.4 or bellow:
16+
```php
17+
'providers' => [
18+
// ...
19+
Madewithlove\LaravelDebugConsole\ServiceProvider::class
20+
]
21+
```
2622

2723
## Usage
2824

29-
Open your console and run `php artisan app:debug` it will update automatically on the next request.
25+
Open your console and run `php artisan app:debug [messages|timeline|exceptions|route|queries|request]` same options that are available by default on Laravel Debugbar.

0 commit comments

Comments
 (0)