Package Data | |
---|---|
Maintainer Username: | qsoftvietnam |
Maintainer Contact: | thedv91@gmail.com (Recycle Bin) |
Package Create Date: | 2016-07-04 |
Package Last Update: | 2018-04-23 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-23 03:27:44 |
Package Statistics | |
---|---|
Total Downloads: | 55 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 3 |
Total Forks: | 2 |
Total Open Issues: | 0 |
It is recommended that you use Composer to install PHP PhantomJS. First, add the following to your project’s composer.json
file:
"scripts": {
"post-install-cmd": [
...
"PhantomInstaller\\Installer::installPhantomJS"
],
"post-update-cmd": [
...
"PhantomInstaller\\Installer::installPhantomJS"
]
}
This will ensure the latest version of PhantomJS is installed for your system, in your bin folder. If you haven’t defined your bin folder in your composer.json
, add the path:
"config": {
...
"bin-dir": "bin"
}
Install composer package
composer require qsoftvn/seo:dev-master
Qsoftvn\Seo\SeoServiceProvider::class,
'QsoftClawer' => Qsoftvn\Seo\Support\Facades\QsoftClawer::class,
'QsoftCache' => Qsoftvn\Seo\Support\Facades\QsoftCache::class,
php artisan vendor:publish --provider="Qsoftvn\Seo\SeoServiceProvider"
phantom_path
from qsoft_seo.php * base_path('bin/phantomjs.exe') | window
* base_path('bin/phantomjs') | linux
'phantom_path' => env('PHANTOMJS_PATH', null),