qsoftvn / seo
Seo angular for Laravel
dev-master / 1.3.x-dev
2018-04-23 11:31 UTC
Requires
- php: ~5.5|~7.0
- illuminate/support: ~5.1
- jonnyw/php-phantomjs: 4.*
- soapbox/laravel-formatter: ^2.0
Requires (Dev)
- phpunit/phpunit: 4.*
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is not auto-updated.
Last update: 2024-12-21 20:52:18 UTC
README
How to install
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
Provider
Qsoftvn\Seo\SeoServiceProvider::class,
Alias
'QsoftClawer' => Qsoftvn\Seo\Support\Facades\QsoftClawer::class, 'QsoftCache' => Qsoftvn\Seo\Support\Facades\QsoftCache::class,
Publish config
php artisan vendor:publish --provider="Qsoftvn\Seo\SeoServiceProvider"
Update phantom_path
from qsoft_seo.php
* base_path('bin/phantomjs.exe') | window * base_path('bin/phantomjs') | linux 'phantom_path' => env('PHANTOMJS_PATH', null),