diff --git a/composer.json b/composer.json index 91aaa48..883809a 100644 --- a/composer.json +++ b/composer.json @@ -30,5 +30,18 @@ }, "require-dev": { "phpunit/phpunit": "^7.0" + }, + "extra": { + "laravel": { + "branch-alias": { + "dev-develop": "^1.0" + }, + "providers": [ + "Josh\\Component\\PhantomJs\\PhantomJsServiceProvider" + ], + "aliases": { + "PhantomJs": "Josh\\Component\\PhantomJs\\Facade\\PhantomJs" + } + } } } diff --git a/config.php b/config.php index 2c3f893..95e3872 100644 --- a/config.php +++ b/config.php @@ -3,7 +3,7 @@ return [ // phantomjs binary path - 'binary_path' => 'bin/phantomjs', + 'binary_path' => base_path().'//bin/phantomjs', // phantomjs run options 'options' => [], @@ -13,4 +13,4 @@ // phantomjs cache mode 'cache' => true -]; \ No newline at end of file +];