sofiakb / lumen-middleware by sofiakb

A library lumen middleware
70
0
1
Package Data
Maintainer Username: sofiakb
Maintainer Contact: contact.sofiakb@gmail.com (Sofiakb)
Package Create Date: 2021-08-03
Package Last Update: 2022-02-16
Language: PHP
License: MIT
Last Refreshed: 2024-04-29 15:01:36
Package Statistics
Total Downloads: 70
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Contributors Forks Stargazers Issues MIT License

About The Library

The library allows to detect os system in PHP project.

Built With

This section should list any major frameworks that you built your project using. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.

Prerequisites

  • php >= 7.4

Installation

composer require sofiakb/os-detector

Usage

use Sofiakb\DetectOS\System;

// Get os with
$os = System::getOS();

// Verify os with
System::isLinux();
System::isMac();
System::isWindows();

Roadmap

See the open issues for a list of proposed features (and known issues).

License

Distributed under the MIT License. See LICENSE for more information.