PHPackages                             utopia-php/detector - 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. [Framework](/categories/framework)
4. /
5. utopia-php/detector

ActiveLibrary[Framework](/categories/framework)

utopia-php/detector
===================

A simple library for fast and reliable environment identification.

0.2.4(3mo ago)3117.7k↓20.7%1MITPHPPHP &gt;=8.0

Since Mar 8Pushed 3mo ago6 watchersCompare

[ Source](https://github.com/utopia-php/detector)[ Packagist](https://packagist.org/packages/utopia-php/detector)[ RSS](/packages/utopia-php-detector/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (22)Used By (1)

Utopia Detector
===============

[](#utopia-detector)

[![Build Status](https://camo.githubusercontent.com/67feddaf074d7e8c99a5b12661b4a1bd76169908c1ccd3c2d517d3e194b862af/68747470733a2f2f7472617669732d63692e6f72672f75746f7069612d7068702f6465746563746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/utopia-php/detector)[![Total Downloads](https://camo.githubusercontent.com/b972a58d9a0a3677869d385dfe8f7462589280650f6a90fc6006c81a5775f2ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f6465746563746f722e737667)](https://camo.githubusercontent.com/b972a58d9a0a3677869d385dfe8f7462589280650f6a90fc6006c81a5775f2ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f75746f7069612d7068702f6465746563746f722e737667)[![Discord](https://camo.githubusercontent.com/6e418910df1b6eb524c6cbd88dbaf5a5aa294316eeadcd963e11262a319f6321/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3536343136303733303834353135313234343f6c6162656c3d646973636f7264)](https://appwrite.io/discord)

Utopia Detector is a simple library for fast and reliable environment identification. This library is aiming to be as simple and easy to learn and use. This library is maintained by the [Appwrite team](https://appwrite.io).

Getting Started
---------------

[](#getting-started)

Install using composer:

```
composer require utopia-php/detector
```

Init in your application:

```
