Download the PHP package seostats/seostats without Composer
On this page you can find all versions of the php package seostats/seostats. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download seostats/seostats
More information about seostats/seostats
Files in seostats/seostats
Package seostats
Short Description SEOstats is a powerful open source PHP library to request a bunch of SEO relevant metrics for any website.
License MIT
Homepage http://github.com/eyecatchup/SEOstats
Informations about the package seostats
SEOstats: SEO metrics library for PHP
SEOstats is the open source PHP library to get SEO-relevant website metrics.
SEOstats is used to gather metrics such as detailed searchindex & backlink data, keyword & traffic statistics, website trends, page authority, social visibility, Google Pagerank, Alexa Trafficrank and more.
It offers over 50 different methods to fetch data from sources like Alexa, Google, Mozscape (by Moz - f.k.a. Seomoz), SEMRush, Open-Site-Explorer, Sistrix, Facebook or Twitter.
A variety of (private as well as enterprise) SEO tools have been built using SEOstats.
Dependencies
SEOstats requires PHP version 5.3 or greater and the PHP5-CURL and PHP5-JSON extensions.
Installation
The recommended way to install SEOstats is through composer.
To install SEOstats, just create the following composer.json
file
{
"require": {
"seostats/seostats": "dev-master"
}
}
and run the php composer.phar install
(Windows: composer install
) command in path of the composer.json
.
Step-by-step example:
If you haven't installed composer yet, here's the easiest way to do so:
If you have installed composer, follow these steps to install SEOstats:
Use SEOstats without composer
If composer is no option for you, you can still just download the SEOstats.zip
file of the current master branch (version 2.5.2) and extract it. However, currently there is an issues with autoloading and you need to follow the instructions in the comments in the example files in order to use SEOstats (or download zip for the development version of SEOstats (2.5.3) here).
Usage
TOC
- Configuration
- Brief Example of Use
- Alexa Methods
- Alexa Traffic Metrics
- Alexa Traffic Graphs
- Google Methods
- Toolbar Pagerank
- Pagespeed Service
- Websearch Index
- SERP Details
- Mozscape Methods
- Open Site Explorer Methods
- SEMRush Methods
- Domain Reports
- Graphs
- Sistrix Methods
- Visibility Index
- Social Media Methods
Configuration
There're two configuration files to note:
- `./SEOstats/Config/ApiKeys.php`
Client API Keys (currently only required for Mozscape, Google's Pagespeed Service and Sistrix). - `./SEOstats/Config/DefaultSettings.php`
Some default settings for querying data (mainly locale related stuff).
Brief Example of Use
To use the SEOstats methods, you must include one of the Autoloader classes first (For composer installs: ./vendor/autoload.php
; for zip download: ./SEOstats/bootstrap.php
).
Now, you can create a new SEOstats instance an bind any URL to the instance for further use with any child class.
Alternatively, you can call all methods statically passing the URL to the methods directly.
More detailed examples can be found in the ./example
directory.
SEOstats Alexa Methods
Alexa Traffic Metrics
Alexa Traffic Graphs
SEOstats Google Methods
Google Toolbar PageRank
Google Pagespeed Service
Google Websearch Index
Google SERP Details
SEOstats Mozscape Methods
SEOstats Open Site Explorer (by MOZ) Methods
SEOstats SEMRush Methods
SEMRush Domain Reports
SEMRush Graphs
SEOstats Sistrix Methods
Sistrix Visibility Index
SEOstats Social Media Methods
Google+ PlusOnes
Facebook Interactions
Twitter Mentions
Other Shares
License
(c) 2010 - 2016, Stephan Schmitz [email protected]
License: MIT, http://eyecatchup.mit-license.org
URL: https://eyecatchup.github.io
All versions of seostats with dependencies
ext-curl Version *
ext-json Version *