Download the PHP package abdur-rahaman/laravel-seo without Composer

On this page you can find all versions of the php package abdur-rahaman/laravel-seo. 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 laravel-seo

Laravel SEO

SEO management package for Laravel (meta tags, social cards, sitemap, schema, analysis form).

Package: abdur-rahaman/laravel-seo
Requirements: PHP 8.3+, Laravel 11 / 12 / 13


Install

Publish assets only (CSS/JS for the admin form):


Initial

1. Config (optional)

Set defaults in config/laravel-seo.php or .env:

2. Admin layout assets

The SEO form needs Bootstrap 5, Font Awesome, and jQuery in your admin layout. Package CSS/JS:

Or rely on @stack('styles') / @stack('scripts') if your layout already yields them (the form component pushes these stacks).


Load input fields and plugins in form

Add the SEO form component to any create/edit view:

Form tabs & fields

Tab Fields
General SEO Focus keyword, SEO title, meta description, additional keywords, canonical URL, Google preview
Social Media OG title / description / image, Twitter title / description / image
Advanced Robots index/follow, exclude from sitemap, canonical
Schema Schema type, custom JSON-LD data
Analysis SEO score + keyword / content checks

Save SEO from the controller

Input names use the prefix: seo[title], seo[description], seo[focus_keyword], etc.

For a new model without SEO yet:


Setup in model

Use the HasSeo trait on any Eloquent model:

API on the model

Load model SEO for the current page

If the model has no SEO row yet, set fallbacks:


SEO tags in meta (front-end)

Put the helper once in your main layout <head>:

What gets rendered

Set tags without a model

Or:

Defaults from config/laravel-seo.php are used when a field is empty.


AI SEO Generator (ChatGPT)

Generate SEO title, meta description, focus keyword, and keywords from page content via OpenAI.

1. Enable in .env

Or use OPENAI_API_KEY instead of SEO_AI_API_KEY.

Publish config if you have not already:

2. Use the form

On the General SEO tab, click Generate with AI.

The button reads content from common fields (#body, textarea[name="body"], textarea[name="content"], TinyMCE/CKEditor) and fills:

Then review and save the form as usual.

3. Protect the endpoint (recommended)

In config/laravel-seo.php:

4. Republish assets after upgrade


All versions of laravel-seo with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/support Version ^11.0|^12.0|^13.0
illuminate/database Version ^11.0|^12.0|^13.0
illuminate/view Version ^11.0|^12.0|^13.0
illuminate/routing Version ^11.0|^12.0|^13.0
illuminate/http Version ^11.0|^12.0|^13.0
illuminate/validation Version ^11.0|^12.0|^13.0
illuminate/cache Version ^11.0|^12.0|^13.0
illuminate/console Version ^11.0|^12.0|^13.0
illuminate/filesystem Version ^11.0|^12.0|^13.0
illuminate/config Version ^11.0|^12.0|^13.0
illuminate/contracts Version ^11.0|^12.0|^13.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 abdur-rahaman/laravel-seo contains the following files

Loading the files please wait ...