{"id":15277453,"url":"https://github.com/ofcold/os-info","last_synced_at":"2025-04-12T15:08:53.989Z","repository":{"id":57031016,"uuid":"130464594","full_name":"ofcold/os-info","owner":"ofcold","description":"Application easily parsing and displaying system information of the host.","archived":false,"fork":false,"pushed_at":"2018-04-21T11:25:18.000Z","size":12,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T15:08:48.793Z","etag":null,"topics":["codeigniter","fuelphp","laravel","os","php7","symfony","thinkphp","yii2"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ofcold.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-21T10:47:10.000Z","updated_at":"2022-03-15T23:27:35.000Z","dependencies_parsed_at":"2022-08-23T18:50:45.177Z","dependency_job_id":null,"html_url":"https://github.com/ofcold/os-info","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofcold%2Fos-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofcold%2Fos-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofcold%2Fos-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofcold%2Fos-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ofcold","download_url":"https://codeload.github.com/ofcold/os-info/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586235,"owners_count":21128997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codeigniter","fuelphp","laravel","os","php7","symfony","thinkphp","yii2"],"created_at":"2024-09-30T11:06:33.415Z","updated_at":"2025-04-12T15:08:53.968Z","avatar_url":"https://github.com/ofcold.png","language":"PHP","readme":"# Operating system information\nApplication easily parsing and displaying system information of the host.\n\n### Installer\n\n```console\n\tcomposer require olivia/os-info\n```\n\n### Use\n\n#### Basic\n```php\n\t$info = new Olivia\\OsInfo\\OSInfo(\n\t\tnew Linfo\\Linfo\n\t);\n\n\t// Cpu\n\techo $info-\u003egetCpu();\n```\n\n#### Laravel or other PHP framework\n```php\n\tuse Olivia\\OsInfo\\OSInfo;\n\n\t$info = app(OSInfo::class);\n\n\t// Cpu\n\techo $info-\u003egetCpu();\n```\n\n### API\n* getCpu() : string\n* getServer() : string\n* getMemory() : string\n* getMysqlVersion(string $host = '127.0.0.1', string $username = 'root', ?string password = null) : string\n* getPHPVersion() : string\n* getUploadMaxFileSize() : string\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofcold%2Fos-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fofcold%2Fos-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofcold%2Fos-info/lists"}