HomePhorge

Try to support PHP >= 7.2, small refactoring