Download the PHP package dkrasov/seo-manager without Composer

On this page you can find all versions of the php package dkrasov/seo-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package seo-manager

Seo Manager Package for Laravel ( with Localization )

dkrasov/seo-manager package will provide you an interface from where you can manage all your pages metadata separately and get dynamically changing content. Let's see how.

Update:

After updating to version > v1.2.* you have to run:

and

to publish latest configs and new migration files.

Localization

In version v1.2.* you will have availability to localize your metadata and set translates to your data.

For that, you just should add your available locales with top right button "Add Locales" and chose locale for which you want to add translations.

That's it, Package will automatically detect your locale from website and will set needed translations, you don't need to do any other configs. Easy, isn't it?

Installation

You can install the package via composer:

Publishing package files

This command will create config/seo-manager.php file and will copy package assets directory to public/vendor/dkrasov.

Configurations

In config/seo-manager.php file you can do the following configurations:

After finishing with all configurations run php artisan migrate to create SEO manager table.

That's it, now your SEO manager will be available from /seo-manager URL (or, if you changed route config, by that config URL)

Usage

After visiting your dashboard URL you have to import your routes to start to manage them.

routes import

Route importing will store all your GET routes into the database ( except the ones which specified in "except_routes" configs).

imported routes

Let the fun begin!

Mapping

To get dynamically changing metadata you should map your route params to the correct Models.

Param: Route param

Model: Eloquent Model which you are using to get the record by route param

Find By: Database table column name which you are using to get the record by route param

Use Columns: Database table columns which we should use for further mapping

Mapping available only if your route has params

Next steps you can do, is to set Keywords, Description, Title, URL, Author, Title Dynamic, OpenGraph Data.

About "Title Dynamic":

Here you can drag & drop your mapped params, your title and write custom text to generate the dynamic title for your page. Every time your "title" will be changed or your mapped params value changed, the dynamic title will be changed automatically.

About "Open Graph":

Here you can write your open graph data or map your fields to mapping based on params.

Example Usage

Via SeoManager Facade

This will return an array with all your SEO Manager data

Example:

SeoManager::metaData(); method can receive property variable to get the value of some property

Example:

SeoManager::metaData('keywords'); will return "First Keyword, Second, Third"

To get only OpenGraph data array:

Example

Aliases

SeoManager::metaKeywords()

SeoManager::metaTitle()

SeoManager::metaDescription()

SeoManager::metaUrl()

SeoManager::metaAuthor()

SeoManager::metaTitleDynamic()

SeoManager::metaOpenGraph() - Can receive property variable to get the value of some OG property

Example

SeoManager::metaOpenGraph('og:image:url')

Will return "https://wallpaperbrowse.com/media/images/3848765-wallpaper-images-download.jpg"

Via helper functions

metaData()

metaKeywords()

metaTitle()

metaDescription()

metaUrl()

metaAuthor()

metaTitleDynamic()

metaOpenGraph()

Via @Blade directives

You can use this blade directives in your view files to get metadata.

@meta

Output Example

@meta can receive property param

@meta('description')

Output Example

Note: You can't add open graph properties to @meta() like @meta('og:url') But you can get only OpenGraph meta data by @meta('og_data'). If you want to get concrete OG param meta tag you can use @openGraph (similar to @meta('og_data')) and pass param there like @openGraph('og:url)

Note #2: If you want to do modifications in your og data and display it manually, you should do that before @meta

Example:

Aliases

@keywords

@url

@author

@description

@title

@openGraph

@titleDynamic - will return dynamically generated title which you can use inside your <title></title> tags.


All versions of seo-manager with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
illuminate/support Version 5.5.* || 5.6.* || 5.7.* || 5.8.* || 6.0.*
illuminate/console Version ^6.0
illuminate/http Version ^6.0
illuminate/view Version ^6.0
illuminate/database Version ^6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dkrasov/seo-manager contains the following files

Loading the files please wait ....