Skip to content

An info fetch tool written in PHP. Because why not. /shrug

License

Notifications You must be signed in to change notification settings

Phate6660/phpfetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPFetch

An info fetch tool written in PHP. Because why not. /shrug

Running

  • Install PHP and composer
  • Clone the repo:
    • git clone https://github.com/Phate6660/phpfetch && cd phpfetch
  • Get browscap:
    • composer require browscap/browscap-php
    • vendor/bin/browscap-php browscap:fetch
    • vendor/bin/browscap-php browscap:convert
  • Run the PHP server:
    • php -c php.ini -S localhost:8000
  • Open the web page in your browser at localhost:8000/phpfetch.php

Output

screenshot

TODO

  • Support BSD
  • Support more package counts:
    • dnf
    • dpkg
    • portage (pure PHP)
    • rpm
    • xbps
    • zypper

About

An info fetch tool written in PHP. Because why not. /shrug

Topics

Resources

License

Stars

Watchers

Forks

Languages