PHPackages                             schulzefelix/laravel-stat-search-analytics - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. schulzefelix/laravel-stat-search-analytics

ActiveLibrary[API Development](/categories/api)

schulzefelix/laravel-stat-search-analytics
==========================================

A Laravel API Wrapper For STAT Search Analytics.

1.6.0(6y ago)2831MITPHPPHP ^7.2.5CI failing

Since Nov 8Pushed 6y ago2 watchersCompare

[ Source](https://github.com/schulzefelix/laravel-stat-search-analytics)[ Packagist](https://packagist.org/packages/schulzefelix/laravel-stat-search-analytics)[ Docs](https://github.com/schulzefelix/laravel-stat-search-analytics)[ RSS](/packages/schulzefelix-laravel-stat-search-analytics/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (7)Versions (15)Used By (0)

A Laravel API Wrapper For STAT Search Analytics.
================================================

[](#a-laravel-api-wrapper-for-stat-search-analytics)

[![Latest Version](https://camo.githubusercontent.com/57bdc639a39373bc18ad0b44fd7c53621ac770d41563425317912fdbca342e2d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f736368756c7a6566656c69782f6c61726176656c2d737461742d7365617263682d616e616c79746963732e7376673f7374796c653d666c61742d737175617265)](https://github.com/schulzefelix/laravel-stat-search-analytics/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/85e1508ab038a7be98b64e7f523319160d33b358b55afe8e223559d50a48e271/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f736368756c7a6566656c69782f6c61726176656c2d737461742d7365617263682d616e616c79746963732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/schulzefelix/laravel-stat-search-analytics)[![Quality Score](https://camo.githubusercontent.com/1426425d9f2fcae071faa1dd3c6907d797980d5602c43f71fca488e35dc9b4da/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f736368756c7a6566656c69782f6c61726176656c2d737461742d7365617263682d616e616c79746963732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/schulzefelix/laravel-stat-search-analytics)[![StyleCI](https://camo.githubusercontent.com/ca36ec6579e24adcb30444dd9dfd237d15b09a69deef60572fbf2275e8e62ac2/68747470733a2f2f7374796c6563692e696f2f7265706f732f37323833383432362f736869656c64)](https://styleci.io/repos/72838426)[![Latest Version on Packagist](https://camo.githubusercontent.com/eda6c7d39030bf44c41b82a665d62a4516b79524f07a279418f068c21df4c874/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736368756c7a6566656c69782f6c61726176656c2d737461742d7365617263682d616e616c79746963732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/schulzefelix/laravel-stat-search-analytics)[![Total Downloads](https://camo.githubusercontent.com/50282a6fc72636dc9e35fa9f45995a8ec8c262c9ab4a76ee70e588bb8bfedac8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736368756c7a6566656c69782f6c61726176656c2d737461742d7365617263682d616e616c79746963732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/schulzefelix/laravel-stat-search-analytics)

For information about STAT Search Analytics see

Install
-------

[](#install)

This package can be installed through Composer.

```
$ composer require schulzefelix/laravel-stat-search-analytics
```

In Laravel 5.5 the package will autoregister the service provider. In Laravel 5.4 you must install this service provider.

```
// config/app.php
'providers' => [
    ...
    SchulzeFelix\Stat\StatServiceProvider::class,
    ...
];
```

In Laravel 5.5 the package will autoregister the facade. In Laravel 5.4 you must install the facade manually.

```
// config/app.php
'aliases' => [
    ...
    'Stat' => SchulzeFelix\Stat\StatFacade::class,
    ...
];
```

You can publish the config file of this package with this command:

```
php artisan vendor:publish --provider="SchulzeFelix\Stat\StatServiceProvider"
```

Usage
-----

[](#usage)

- [Introduction](#introduction)
- [Projects Methods](#projects-methods)
    - [List All Projects](#projects-list)
    - [Create A Projects](#projects-create)
    - [Update A Projects](#projects-update)
    - [Delete A Projects](#projects-delete)

Introduction
------------

[](#introduction)

The responses of this packages are combinations of Laravel Collections, objects for each kind of data object and [Carbon](https://github.com/briannesbitt/Carbon) instances for date fields.

Projects Methods
----------------

[](#projects-methods)

### List All Projects

[](#list-all-projects)

The list methods returns a collection of all projects.

```
$projects = Stat::projects()->list();
```

### Create A Project

[](#create-a-project)

To create a project just pass the name of the project. The response will we a StatProject instance.

```
$project = Stat::projects()->create('Cheese Cake Factory');

$project->toArray();

/*
[
    'id' => 615,
    'name' => 'Cheese Cake Factory',
    'total_sites' => 0,
    'created_at' => 2016-11-01,
    'updated_at' => 2016-11-01,
]
*/
```

### Update A Project

[](#update-a-project)

To update the name of a project just pass the project ID and the new name. The response will we a StatProject instance.

```
$project = Stat::projects()->update(615, 'Cheese Cake Bakery');

$project->toArray();

/*
[
    'id' => 615,
    'name' => 'Cheese Cake Bakery',
    'total_sites' => 5,
    'created_at' => 2016-11-01,
    'updated_at' => 2016-11-03,
]
*/
```

### Delete A Project

[](#delete-a-project)

To delete a project just pass the project ID. The response the project ID.

```
$project = Stat::projects()->delete(615);
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ vendor/bin/phpunit
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Credits
-------

[](#credits)

- [Felix Schulze](https://github.com/schulzefelix)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 97.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~96 days

Recently: every ~179 days

Total

14

Last Release

2221d ago

Major Versions

0.0.1 → 1.0.02016-12-06

PHP version history (5 changes)0.0.1PHP ^7.0

1.3.0PHP &gt;=7.0.0

1.4.0PHP &gt;=7.1.0

1.5.0PHP ^7.2

1.6.0PHP ^7.2.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/b65a1fec031c9f386c149fd4602ae2a2f92ccb77e363eda4012e70f5c6513d8a?d=identicon)[schulzefelix](/maintainers/schulzefelix)

---

Top Contributors

[![schulzefelix](https://avatars.githubusercontent.com/u/8378750?v=4)](https://github.com/schulzefelix "schulzefelix (38 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

api-wrapperlaravellaravel-5-packagephp7statslaravelschulzefelixstat-search-analyticskeyword rankingskeyword tracking

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/schulzefelix-laravel-stat-search-analytics/health.svg)

```
[![Health](https://phpackages.com/badges/schulzefelix-laravel-stat-search-analytics/health.svg)](https://phpackages.com/packages/schulzefelix-laravel-stat-search-analytics)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[nickurt/laravel-postcodeapi

Universal PostcodeApi for Laravel 11.x/12.x/13.x

97221.2k](/packages/nickurt-laravel-postcodeapi)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
