SEO Keywords
![Software License][ico-license]
![Coverage Status][ico-scrutinizer]
![Total Downloads][ico-downloads], (*1)
Note: Replace :author_name
:author_username
:author_website
:author_email
:vendor
:package_name
:package_description
with their correct values in README.md, CHANGELOG.md, CONTRIBUTING.md, LICENSE.md and composer.json files, then delete this line. You can run $ php prefill.php
in the command line to make all replacements at once. Delete the file prefill.php as well., (*2)
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what
PSRs you support to avoid any confusion with users and contributors., (*3)
Structure
If any of the following are applicable to your project, then the directory structure should follow industry best practises by being named the following., (*4)
bin/
config/
src/
tests/
vendor/
Install
Via Composer, (*5)
``` bash
$ composer require kdaviesnz/seokeywords, (*6)
## Usage
``` php
$content = "hello world goodbye world";
$keywordTool = new \kdaviesnz\seokeywords\SEOKeywords();
$count4Phrasewords = $keywordTool->getCount4PhraseWords($content);
$count3Phrasewords = $keywordTool->getCount3PhraseWords($content);
$count2Phrasewords = $keywordTool->getCount2PhraseWords($content);
var_dump($count4Phrasewords);
var_dump($count3Phrasewords);
var_dump($count2Phrasewords);
$lsi= $keywordTool->get_lsi_keywords("Trump");
var_dump($lsi);
$stopwords = $keywordTool->get_stop_words();
Change log
Please see CHANGELOG for more information on what has changed recently., (*7)
Testing
bash
$ composer test
, (*8)
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details., (*9)
Security
If you discover any security related issues, please email :author_email instead of using the issue tracker., (*10)
Credits
License
The MIT License (MIT). Please see License File for more information., (*11)
seokeywords