Analyze keywords in the content and make diagnostics to improve the seo score of the content.
- 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 keyword in meta title.
- 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.
- English
- Chinese
- Spanish
- French
- Indonesian
- Japanese
- Portuguese
- Russian
- Vietnamese
- PHP7.0+
- ext-json
- ext-intl
You can install the package via composer:
composer require jagehring/laravel-keyword-analytics
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"
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);
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();
// Or
$results = app('keyword-analytics')->fromRequest()->run()->getResults();
dd($results);
use Qmas\KeywordAnalytics\Analysis;
$results = app(Analysis::class)->run($keyword, $title, $description, $seo_title, $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);
composer tests
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email vandt147@outlook.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.