An open API service indexing awesome lists of open source software.

https://github.com/stereoflo/php-inventory-app


https://github.com/stereoflo/php-inventory-app

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# About

This is a port of the Go app. You can find the original version [here](https://github.com/StereoFlo/go-inventory-app).

# Run the app (WIP)

```shell
docker-compose up --build
```

### Available routes
`GET /devices/:device_id`

`GET /locations`

create a device

`POST /devices`

# Utils

### php-cs-fixer
```shell
php vendor/bin/php-cs-fixer fix --diff src --config=.php-cs-fixer.dist.php
```
### phpstan
```shell
php vendor/bin/phpstan analyse src --level=max
```
### phpunit
```shell
php bin/phpunit
```