Simple PHP api for SnipeIT app. Not maintained anymore; check out BinStack instead: and
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Skylar Ittner 96a71bfa42 Add hace 2 años
nbproject Add hace 2 años
vendor Add hace 2 años Add hace 2 años
composer.json Add hace 2 años
composer.lock Add hace 2 años
database.php Add hace 2 años
dieifnotloggedin.php Add hace 2 años
getitem.php Add hace 2 años
getlocation.php Add hace 2 años
getmodel.php Add hace 2 años
getstatus.php Add hace 2 años
login.php Add hace 2 años
readfrom.php Add hace 2 años
required.php Add hace 2 años
search.php Add hace 2 años
updateitem.php Add hace 2 años

Snipe-IT API

This is a simple API for accessing a Snipe-IT database.


Installation is easy. Assuming you have a web server with PHP and a suitable database driver, simply put all the files in this repo in a web-accessible folder.

Edit the file database.php and add the connection settings for your Snipe-IT database.

On the mobile app, enter the full address for the API server. Include http(s):// and the trailing slash.

The API can be put in a subfolder of the main Snipe-IT installation, but it can also be setup on any server that can reach the database.


If you have a problem:

  • Check you have the full path (with trailing slash) entered into the app.
  • Install PHP Composer and run composer install.
  • Check you can access the API from a computer. Go to the API folder/login.php. You should see JSON with an error message “Missing username.”. If you see a different error, or there is no error, double-check the database settings, and try installing Composer dependencies.
  • If none of these solutions work, open an issue.