PHPackages                             commencement.technology/botcheck - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. commencement.technology/botcheck

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

commencement.technology/botcheck
================================

The package which identify the Bot or Crawler which help to identify the how many bots or crawler visiting in day and from where

1.0.1(3y ago)05MITPHPPHP &gt;=7.0.0

Since Sep 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/commencementtech/botcheck)[ Packagist](https://packagist.org/packages/commencement.technology/botcheck)[ RSS](/packages/commencementtechnology-botcheck/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Botcheck
========

[](#botcheck)

Bot check parsing user agent and returns useful details of Bot, Crawler, Browser and OS information. AIM is comprehensiveness to return broad information on the bot, crawler, most common devices, browsers, hardware, etc.

```
* Operating System `os`
    * e.g. Windows, macOS, Linux
* Browser `browser`
    * e.g. Firefox, Safari, Firefox iOS
* Hardware `hardware`
    * e.g. Nintendo Switch, Apple iPad
* Miscellaneous `misc`
    * e.g. Slack, WhatsApp, Gmail, cURL, Python-urllib
* Bot `bot`
    * e.g. Googlebot, BingBot, Baidu Spider
```

### Result Data of Bot

[](#result-data-of-bot)

```
* Name
* Website
* Bot Site Complete page
```

### Result Data General

[](#result-data-general)

```
* Name
* Version
* Brand (hardware only)
* Model (hardware only)
* Mobile (boolean, can be inaccurate)
```

### Install / Configuring

[](#install--configuring)

Packagist [commencement.technology/botcheck](https://packagist.org/packages/commencement.technology/botcheck)

```
$ composer require commencement.technology/botcheck
```

### Usage

[](#usage)

```
use CommencementTechnology\Botcheck\BotChecker;

// $ua = $request->get('ua');
//              OR
// $ua = $_SERVER['HTTP_USER_AGENT'];
$ua = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:81.0) Gecko/20100101 Firefox/81.0';

$user_agent      = new BotChecker($ua);

// If you want all data in that case just use parse
$user_agent_info = $user_agent->parse();
```

#### Result

[](#result)

```
[
	'os' => [
		'name'    => 'Windows',
		'icon'    => 'win10',
		'version' => '10'
	],
	'browser' => [
		'name'    => 'Firefox',
		'icon'    => 'firefox',
		'version' => '86.0'
	],
	'hardware' => false,
	'misc' => false,
	'bot' => false
];
```

```
// When you want only Operating system specific details pass as
$user_agent_os   = $user_agent->parse('os');
```

#### Result

[](#result-1)

```
[
	'name'    => 'Windows',
	'icon'    => 'win10',
	'version' => '10'
];
```

```
// When you want only bot or crawler specific details pass as
$user_agent_os   = $user_agent->parse('bot');
```

#### Result

[](#result-2)

```
[
	'name'    => 'SEMRush Crawler',
	'website'    => 'http://www.semrush.com',
	'complete_link' => 'http://www.semrush.com/bot.html'
];
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

1344d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6dbe4a77f7a8db2fde358ea58d651aa9bc2fb4e20eed59f4ab5c15691c70e057?d=identicon)[commencement.technology](/maintainers/commencement.technology)

---

Top Contributors

[![commencementtech](https://avatars.githubusercontent.com/u/66028734?v=4)](https://github.com/commencementtech "commencementtech (6 commits)")

---

Tags

browsercrawlerbotdetectos

### Embed Badge

![Health badge](/badges/commencementtechnology-botcheck/health.svg)

```
[![Health](https://phpackages.com/badges/commencementtechnology-botcheck/health.svg)](https://phpackages.com/packages/commencementtechnology-botcheck)
```

###  Alternatives

[jaybizzle/laravel-crawler-detect

A Laravel package to detect web crawlers via the user agent

3232.6M17](/packages/jaybizzle-laravel-crawler-detect)[hisorange/browser-detect

Browser &amp; Mobile detection package for Laravel.

1.1k10.1M50](/packages/hisorange-browser-detect)[jaybizzle/crawler-detect

CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent

2.3k96.7M215](/packages/jaybizzle-crawler-detect)[crwlr/crawler

Web crawling and scraping library.

37214.8k2](/packages/crwlr-crawler)[unicodeveloper/laravel-identify

A Laravel 5 Package Provider to Identify/detect a user's browser, device, operating system and Language

19322.0k](/packages/unicodeveloper-laravel-identify)[consoletvs/identify

A Laravel 5 Package Provider to Identify/detect a user's browser, device, operating system and Language

2775.4k6](/packages/consoletvs-identify)

PHPackages © 2026

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