geega / php-micro
There is no license information available for the latest version (0.6.0) of this package.
Simple micro php framework
0.6.0
2023-07-22 20:08 UTC
Requires
- rakit/validation: 1.0.0
- spatie/data-transfer-object: 1.14.1
Requires (Dev)
- phpunit/phpunit: 9.5.27
- squizlabs/php_codesniffer: 3.7.1
README
Simple php micro framework
Note: This packege is under development. Also have zero tests. Use it at your own risk.
DTO
See more https://github.com/spatie/data-transfer-object/blob/1.14.1/README.md
Enum
Class usage example:
class StatusEnum extends Enum { const ON = 1; const OFF = 0; public static function getLabels() { return [ self::ON => 'Turn on', self::OFF => 'Turn off', ]; } }