Room Management plugin for GLPI
This is a plugin to add room management feature to GLPI assets inventory software.
This plugin allows you to manage the rooms and the elements that are included in. A room is not the same as a location that already exists in GLPI because it can not contain items nor be loaned (which a room can be).
This plugins installs as any other GLPI plugin.
- Place the current source code tree in a directory named
room
and move this one inside theplugins
directory of your GLPI installation. - Go to Setup > Plugins.
- Look for the Room Management plugin's row.
- Click on the Install button.
- Click on the Enable button.
This plugins uninstalls as any other GLPI plugin.
- Go to Setup > Plugins.
- Look for the Room Management plugin's row.
- Click on the Disable button.
- Click on the Uninstall button.
- Delete the
plugins/room
directory of your GLPI installation.
Please follow the following rules for contributing:
- Respect PSR-1 and PSR-2.
- Open an issue for each bug/feature so it can be discussed.
- Follow development guidelines.
- Refer to GitFlow process for branching.
- Work on a new branch on your own fork.
- Open a PR for merging. It will be reviewed by a developer.
Respect of coding standard is checked by PHP Coding Standards Fixer.
The .php_cs.dist
file contains the standards to conform to.
Command to list all PHP files with standard issues:
php php-cs-fixer-v2.phar fix --config .php_cs.dist --dry-run.
Same command but includes detail of actual lines with standard issues:
php php-cs-fixer-v2.phar fix --config .php_cs.dist --dry-run --diff .
Command to fix thoses issues:
php php-cs-fixer-v2.phar fix --config .php_cs.dist .