2017 © Pedro PelĂĄez
 

library seo

Seo angular for Laravel

image

qsoftvn/seo

Seo angular for Laravel

  • Monday, April 23, 2018
  • by qsoftvietnam
  • Repository
  • 2 Watchers
  • 2 Stars
  • 51 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

Laravel SEO package

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:, (*1)

    "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:, (*2)

    "config": {
        ...
        "bin-dir": "bin"
    }

Install composer package, (*3)

    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),

The Versions

23/04 2018