Download the PHP package altname/seostats without Composer
On this page you can find all versions of the php package altname/seostats. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package seostats
SEOstats: SEO metrics library for PHP
SEOstats is a powerful open source PHP library to request a bunch of SEO relevant metrics such as detailed backlink analyses, keyword and traffic statistics, website trends, page authority, the Google Pagerank, the Alexa Trafficrank and much more.
SEOstats offers over 50 different methods and gathers data from Alexa, Google, Mozscape (by Moz - f.k.a. Seomoz), SEMRush, Open-Site-Explorer, Sistrix, Facebook, Twitter & many more.
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 required for Mozscape and Google's Pagespeed Service only). - `./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 - 2014, Stephan Schmitz eyecatchup@gmail.com
License: MIT, http://eyecatchup.mit-license.org
URL: https://github.com/eyecatchup/SEOstats