vaened / laravel-structer
Helpers for typical structures in a development
v0.7
2024-07-22 17:10 UTC
Requires
- php: ^8.1|^8.2
- ext-json: *
- laravel/framework: ^10.0.7|^11.0
Requires (Dev)
- orchestra/testbench: ^8.0|^9.0
- phpunit/phpunit: ^10.0
README
Helpers for typical structures in a development
class PersonStruct extends Structurable { #[Property(column: 'id')] protected int $ID; #[Property(column: 'first_name')] protected string $firstName; #[Property(column: 'last_name')] protected string $lastName; #[Property(column: 'phone_number')] protected ?string $phoneNumber; #[Property(column: 'country_id', references: 'countries')] protected ?string $countryID; #[Property(column: 'sex')] protected ?Sex $sex; #[Property(column: 'birth_date')] protected ?Carbon $birthDate; #[Property] protected Document $document; }