Download the PHP package seomanager/laravel-seo-manager without Composer
On this page you can find all versions of the php package seomanager/laravel-seo-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download seomanager/laravel-seo-manager
More information about seomanager/laravel-seo-manager
Files in seomanager/laravel-seo-manager
Informations about the package laravel-seo-manager
Laravel Seo Manager
Current Build Status
Installation
1 - Dependency
The first step is using composer to install the package and automatically update your
composer.json
file, you can do this by running:Note: If you are using Laravel 5.5, the steps 2 and 3, for providers and aliases, are unnecessaries. SeoManager supports Laravel new Package Discovery.
2 - Provider
You need to update your application configuration in order to register the package so it can be loaded by Laravel, just update your config/app.php
file adding the following code at the end of your 'providers'
section:
config/app.php
3 - Facade
Facades are not supported in Lumen.
In order to use the SEOMeta
facade, you need to register it on the config/app.php
file, you can do that the following way:
4 Configuration
Publish config
In your terminal type
In LaravelSeoManager.php
configuration file you can determine the properties of the default values and some behaviors.
LaravelSeoManager.php
- multi-languages default
false
- multi-languages default
provider
this data send type and multi-languages defaultcontroller
Meta tags Generator
With SEOMeta you can create meta tags to the head
-
1 add
{!! SEO::generate(true) !!}
to sitehead
-
2 add
{!! SeoManager::generateManager() !!}
to sitebody
you can be shut seo manager in admin permissionEX
- 3 usage in controller
All versions of laravel-seo-manager with dependencies
illuminate/config Version ~5
illuminate/support Version ~5
artesaos/seotools Version ^0.10.0
laravelcollective/html Version ^5.4.0