Download the PHP package yu-laravel/seo-meta-analyzer without Composer

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

SEO Meta Analyzer

Live Demo

A Livewire tool for Laravel that checks a page's title and meta description, then has an AI score them and write better versions. The visitor enters a URL. The tool reads the page, runs technical checks on the meta tags, and asks the AI how well they match the page and the searcher's intent.

🔗 Live example: yu.net.ua/en/tools/seo-meta-analyzer

What it checks

Requirements

Installation

This also installs yu-laravel/web-tools-core. Both service providers are discovered automatically.

Set your OpenAI key in .env:

Usage

Put the component on a page whose layout includes @livewireStyles and @livewireScripts:

Import the styles into your CSS build:

To match your site's colours and fonts, override the --wt-* variables (see Web Tools Core).

Configuration

Env variable Default Description
SEO_META_ANALYZER_ENABLED true Turn the tool off without uninstalling it.
SEO_META_ANALYZER_PROVIDER openai A key from providers in the config.
SEO_META_ANALYZER_OPENAI_API_KEY OpenAI API key.
SEO_META_ANALYZER_OPENAI_MODEL gpt-4o-mini Model name.
SEO_META_ANALYZER_OPENAI_ENDPOINT OpenAI chat completions Change it to use an OpenAI-compatible API.
SEO_META_ANALYZER_OPENAI_TIMEOUT 25 Seconds to wait for the AI.
SEO_META_ANALYZER_PER_HOUR 5 AI requests per visitor IP per hour. A recheck of an unchanged page comes from the cache and doesn't count.
SEO_META_ANALYZER_PAGES_PER_HOUR 30 Page loads per visitor IP per hour, cached ones included. This stops the tool from being used to flood other sites.

A result is cached for 24 hours per page content, so an unchanged page doesn't trigger a second AI request. Page fetching (timeouts, redirects, user agent) is set in Web Tools Core.

Using another AI provider

Implement Yu\SeoMetaAnalyzer\Llm\LlmProvider:

complete() gets the prompts and a JSON schema, and must return the decoded JSON answer. Add a section for your provider under providers in config/seo-meta-analyzer.php, with class set to your class, and select it with SEO_META_ANALYZER_PROVIDER. The class receives that config section as its $config constructor argument.

Events

Languages

The form and the AI answer come in 13 languages: cs, de, en, es, fr, it, ja, nl, pl, pt, tr, uk and zh. The language is taken from the visitor's browser, with your app locale as the fallback.

Limitations

The tool reads the HTML the server returns. On a page built entirely by JavaScript it sees little text, says so, and bases the score on the meta tags and the H1 only.

Author

Yuriy Akishin:

License

MIT. See LICENSE.


All versions of seo-meta-analyzer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
ext-mbstring Version *
laravel/framework Version ^13.0
livewire/livewire Version ^4.0
yu-laravel/web-tools-core Version ^1.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 yu-laravel/seo-meta-analyzer contains the following files

Loading the files please wait ...