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: | 2025-01-24 15:01:28 |
Package Statistics | |
---|---|
Total Downloads: | 70 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
The library allows to detect os system in PHP project.
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.
composer require sofiakb/os-detector
use Sofiakb\DetectOS\System;
// Get os with
$os = System::getOS();
// Verify os with
System::isLinux();
System::isMac();
System::isWindows();
See the open issues for a list of proposed features (and known issues).
Distributed under the MIT License. See LICENSE
for more information.