Skip to content

0x199/PKGi-Server-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PKGi-Server-PHP

Useful class to make your own PKGi server without a database. If you do use a database you can easily integrate it with the addHomebrew function.

See packages.php for an example.

How To Use

Use theorywrongs generate_refs.php script to generate a json file for your homebrew. You then assign the homebrew a ID of your own (in the example below we've assigned ID 1), and put these files in the directories as follows:

pkgs/1.pkg
refs/1.json
icons/1.png

Then, in packages.php, you can add the following:

$PKGi->addHomebrew('My Homebrew', 1);

It will then be added to the repo.

Credit to theorywrong for PKGi.

About

PHP Class for a PKGi Server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages