Skip to content

Commit 584bc13

Browse files
author
project-hub
committed
Merge pull request #6 from wemersonjanuario/laravel-5
Added Laravel 5 support
2 parents 90765b6 + 3827ad5 commit 584bc13

File tree

5 files changed

+220
-208
lines changed

5 files changed

+220
-208
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ This packages integrates [PHP Console server library](https://github.com/barbush
88

99
Require this package in Laravel project `composer.json` and run `composer update`
1010

11-
"php-console/laravel-service-provider": "1.*"
11+
"php-console/laravel-service-provider": "2.*"
1212

13-
After updating composer, add the service provider line to the begining of `providers` array in `/app/config/app.php`
13+
After updating composer, add the service provider line to the begining of `providers` array in `/config/app.php`
1414

1515
'providers' => array(
1616
'PhpConsole\Laravel\ServiceProvider',
@@ -41,10 +41,10 @@ PHP Console service provider config-file looks like this:
4141

4242
See [PhpConsole\Laravel\ServiceProvider](/src/PhpConsole/Laravel/ServiceProvider.php) for detailed options description.
4343

44-
By default it's located in `/vendor/php-console/laravel-service-provider/src/config/config.php` and it's not recommended to be edited in this path because it will be overwritten on next `composer update`.
44+
By default it's located in `/vendor/php-console/laravel-service-provider/src/config/phpconsole.php` and it's not recommended to be edited in this path because it will be overwritten on next `composer update`.
4545

4646
If you want to edit config you need to run
4747

48-
php artisan config:publish php-console/laravel-service-provider
48+
php artisan vendor:publish --provider="php-console/laravel-service-provider" --tag=config
4949

50-
So config-file will be moved to `/app/config/packages/php-console/laravel-service-provider/config.php` and can be edited as you want and changes will not be lost after `composer update`.
50+
So config-file will be moved to `/config/phpconsole.php` and can be edited as you want and changes will not be lost after `composer update`.

composer.json

Lines changed: 47 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,49 @@
11
{
2-
"name": "php-console/laravel-service-provider",
3-
"description": "Laravel service provider to handle PHP errors, dump variables, execute PHP code remotely in Google Chrome",
4-
"keywords": ["Laravel", "PHP", "errors", "debug", "chrome", "error handler", "google chrome", "php-console"],
5-
"homepage": "https://github.com/barbushin/php-console-laravel",
6-
"license": "BSD 3-Clause",
7-
"type": "library",
8-
9-
"authors": [
10-
{
11-
"name": "Barbushin Sergey",
12-
"email": "[email protected]",
13-
"homepage": "http://linkedin.com/in/barbushin"
14-
}
15-
],
16-
"support": {
17-
"issues": "https://github.com/barbushin/php-console-laravel/issues?state=open"
18-
},
19-
"require": {
20-
"php": ">=5.3.0",
21-
"illuminate/support": "4.*",
22-
"php-console/php-console": ">=3.1"
23-
},
24-
"autoload": {
25-
"psr-0": {
26-
"PhpConsole\\Laravel\\": "src/"
27-
}
28-
},
29-
"minimum-stability": "dev",
30-
"extra": {
31-
"branch-alias": {
32-
"dev-master": "1.x-dev"
33-
}
34-
}
2+
"name": "php-console/laravel-service-provider",
3+
"description": "Laravel service provider to handle PHP errors, dump variables, execute PHP code remotely in Google Chrome",
4+
"keywords": [
5+
"Laravel",
6+
"PHP",
7+
"errors",
8+
"debug",
9+
"chrome",
10+
"error handler",
11+
"google chrome",
12+
"php-console"
13+
],
14+
"homepage": "https://github.com/barbushin/php-console-laravel",
15+
"license": "BSD 3-Clause",
16+
"type": "library",
17+
"authors": [
18+
{
19+
"name": "Barbushin Sergey",
20+
"email": "[email protected]",
21+
"homepage": "http://linkedin.com/in/barbushin"
22+
},
23+
{
24+
"name": "Wemerson Januario",
25+
"email": "[email protected]",
26+
"homepage": "http://linkedin.com/in/wemersonjanuario",
27+
"role": "Laravel 5 support"
28+
}
29+
],
30+
"support": {
31+
"issues": "https://github.com/barbushin/php-console-laravel/issues?state=open"
32+
},
33+
"require": {
34+
"php": ">=5.3.0",
35+
"illuminate/support": "5.*",
36+
"php-console/php-console": ">=3.1"
37+
},
38+
"autoload": {
39+
"psr-0": {
40+
"PhpConsole\\Laravel\\": "src/"
41+
}
42+
},
43+
"minimum-stability": "dev",
44+
"extra": {
45+
"branch-alias": {
46+
"dev-master": "1.x-dev"
47+
}
48+
}
3549
}

0 commit comments

Comments
 (0)