geega / php-micro
Simple micro php framework
Installs: 54
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/geega/php-micro
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', ]; } }