Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit 2a91231

Browse files
authored
Merge pull request #4 from cognitus/develop
Add Auto-Discovery
2 parents ec9a817 + 4123827 commit 2a91231

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

composer.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,18 @@
3030
},
3131
"require-dev": {
3232
"phpunit/phpunit": "^7.0"
33+
},
34+
"extra": {
35+
"laravel": {
36+
"branch-alias": {
37+
"dev-develop": "^1.0"
38+
},
39+
"providers": [
40+
"Josh\\Component\\PhantomJs\\PhantomJsServiceProvider"
41+
],
42+
"aliases": {
43+
"PhantomJs": "Josh\\Component\\PhantomJs\\Facade\\PhantomJs"
44+
}
45+
}
3346
}
3447
}

config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
return [
44

55
// phantomjs binary path
6-
'binary_path' => 'bin/phantomjs',
6+
'binary_path' => base_path().'//bin/phantomjs',
77

88
// phantomjs run options
99
'options' => [],
@@ -13,4 +13,4 @@
1313

1414
// phantomjs cache mode
1515
'cache' => true
16-
];
16+
];

0 commit comments

Comments
 (0)