Download the PHP package kreetancraft/laravel-seo without Composer

On this page you can find all versions of the php package kreetancraft/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

Per-model SEO metadata, live content analysis, Google and social previews, JSON-LD helpers and a sitemap feed. Livewire 4 + Flux UI.

Ships no models of its own beyond SeoMeta, no layout, no CSS and no image handling — it renders into your application and knows nothing about your content types until you tell it.

Design decisions worth knowing before you install

It knows nothing about your content types. The bulk screen and seo:analyze read a registry that ships empty. A package that owns a content type contributes to it through a container tag, so neither package names the other.

It names no permission of its own. The screens ask the ordinary authorization question and SeoPolicy answers it. Until permissions exist anywhere in the app it is open, so it works on a bare install rather than failing closed.

It ships no image handling. og:image resolves through seo.image_resolver when one is configured, and falls back to the model's own default otherwise.

Flux is a hard dependency. The views use <flux:*> throughout.

Installation

Let Tailwind see this package

Required. Tailwind v4 generates only the classes it finds by scanning files, and it does not scan vendor/. In resources/css/app.css:

Skipping it fails confusingly rather than loudly — classes shared with your own views still work and only the ones unique to this package go missing.

Making a model SEO-aware

Then register it so it appears on the bulk screen — from a package, through the tag:

Or from a host application, in config/seo.php under models.

The editor

Add the SEO card to any Livewire form:

That gives you meta fields, Open Graph and X/Twitter overrides, noindex/nofollow, live Google and social previews, and the analysis panel. Pass ['compact' => true] to drop the previews and analysis for a modal.

What gets analysed

Thirteen content checks — meta title present and length, meta description present and length, focus keyword in title, description, slug, content and headings, content length, headings present, image alt text, links — plus four readability checks: sentence length, paragraph length, passive voice and transition words.

Add your own by tagging it:

Site health

Average score, how much content has no meta title or description, and how much is unscored — counted across every registered model, not just rows that already have meta.

The sitemap feed

GET /api/v1/sitemap returns every public URL with lastmod. Contribute to it by implementing ProvidesSitemapUrls and tagging the class:

Permissions

SeoPolicy declares PERMISSION_SUBJECT = 'seo', so with kreetancraft/laravel-user-management installed one command creates view-seo, create-seo, update-seo and delete-seo:

A SEO link also appears in that package's sidebar, with nothing declared on either side.

Images

Install kreetancraft/laravel-media-manager and point two values at it:

The resolver turns a model plus a collection name into URLs; the field renders the tiles, a Choose button and the picker modal. Name your own view instead if you prefer — it receives $items (already resolved), $group and $multiple.

Leave both null and og:image falls back to whatever seoDefaults()['image'] returns, with no picker rendered.

Requirements

PHP 8.2+, Laravel 12 or 13, Livewire 4, Flux 2.

License

MIT.


All versions of laravel-seo with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^12.0|^13.0
livewire/flux Version ^2.0
livewire/livewire Version ^4.0
lorisleiva/laravel-actions Version ^2.7
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 kreetancraft/laravel-seo contains the following files

Loading the files please wait ...