New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

r94ever/laravel-keyword-analytics

Analyze keywords in the content and make diagnostics to improve the seo score of the content.
6,094 2
Install
composer require r94ever/laravel-keyword-analytics
Latest Version:v3.0.4
PHP:^8.3
Laravel:13
Older releases:6 – 12
License:MIT
Last Updated:Jun 18, 2026
Links: GitHub  ·  Packagist
Maintainer: r94ever

Laravel Keyword Analytics

Analyze keywords in the content and make diagnostics to improve the seo score of the content.

Features

  • Check keyword length.
  • Check keyword density.
  • Check title length.
  • Check meta description length.
  • Check content length.
  • Check keyword in URL.
  • Check keyword in title.
  • Check keyword in first paragraph of content.
  • Check keyword in meta description.
  • Check images in content.
  • Check keyword in ALT attribute of image tags.
  • Check links in content.
  • Check keyword in TITLE attribute of links.
  • Check heading available in content.
  • Check keyword available in headings.
Language Supported
  • Any language supported by PHP Intl extension.

Requirements

  • PHP8.2+
  • ext-json
  • ext-intl

Installation

You can install the package via composer:

composer require r94ever/laravel-keyword-analytics
For Laravel

The Service Provider has automatically discovered. You don't need to do anything to register it.

If you need to change configurations of this package, run the following command:

php artisan vendor:publish --provider="Qmas\KeywordAnalytics\KeywordAnalyticsServiceProvider"
For Lumen

Copy config.php from vendor/qmas/laravel-keyword-analytics/config to config directory then rename to keyword-analytics.php

Open bootstrap/app.php then add the following code to Create Application section:

$app->configure('keyword-analytics');

And the following code to Register Service Providers section:

$app->register(QMAS\KeywordAnalytics\KeywordAnalyticsServiceProvider::class);

Usage

For Laravel
use Qmas\KeywordAnalytics\Facade as Analytic;

$results = Analytic::run($keyword, $title, $description, $html, $url)->getResults();

// Or
$results = app('keyword-analytics')->run($keyword, $title, $description, $html, $url)->getResults();

dd($results);

Or you can run instance from request (read config file to understand about this method)

use Qmas\KeywordAnalytics\Facade as Analytic;

$results = Analytic::fromRequest()->run()->getResults();

dd($results);

// Or
use Qmas\KeywordAnalytics\Analysis;

$results = app(Analysis::class)->fromRequest()->run()->getResults();

dd($results);
For Lumen
use Qmas\KeywordAnalytics\Analysis;

$results = app(Analysis::class)->run($keyword, $title, $description, $html, $url)->getResults();

dd($results);

Or you can run instance from request

use Qmas\KeywordAnalytics\Analysis;

$results = app(Analysis::class)->fromRequest()->run()->getResults();

dd($results);

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email vandt147@outlook.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

elegantly/laravel-seo

An Elegant & flexible SEO tag builder for Laravel

6,704 12
exa2040/laravel-seo

A SEO extension for your laravel project.

12 0
seo
esign/laravel-seo

Manage SEO tags within your Laravel application

29,504 4
aerni/advanced-seo

Comprehensive SEO addon for Statamic with flexibility in mind

22,268 18

Version History

Version Released PHP Laravel License
v3.0.4 ^8.3 ^13.0 MIT
v3.0.3 ^8.3 ^13.0 MIT
v3.0.2 ^8.2 ^11.0|^12.0 MIT
v3.0.1 ^8.2 ^11.0|^12.0 MIT
v3.0.0 ^8.2 ^11.0|^12.0 MIT