ui-awesome/model
最新稳定版本:0.1.0
Composer 安装命令:
composer require ui-awesome/model
包简介
UIAwesome Model for PHP.
关键字:
README 文档
README
UIAwesome Model for PHP.
The UIAwesome Model package provides a robust set of tools for managing data models in PHP applications.
<?php declare(strict_types=1); namespace App\Model; use UIAwesome\Model\{AbstractModel, Attribute\DoNotCollect, Attribute\Timestamp}; final class User extends AbstractModel { private int $age; private string $name; #[DoNotCollect] // attribute for do not collect private int $flag = 0; private bool $isActive; #[Timestamp] // attribute for timestamp private int $updatedAt = 0; }
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist ui-awesome/model:"^0.1"
or add
"ui-awesome/model": "^0.1"
Usage
Check the documentation docs to learn about usage.
Testing
Check the documentation testing to learn about testing.
Support versions
License
The MIT License (MIT). Please see License File for more information.
Our social networks
统计信息
- 总下载量: 324
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: mit
- 更新时间: 2024-03-18