PHPackages                             lessok/lib - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. lessok/lib

ActiveLessok-library

lessok/lib
==========

php library

v0.0.2(4y ago)03Apache-2.0PHPPHP &gt;=5.4.0

Since Jan 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/lessok/phplib)[ Packagist](https://packagist.org/packages/lessok/lib)[ RSS](/packages/lessok-lib/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (3)Used By (0)

phplib
======

[](#phplib)

lessok的意思就是少就是好! php最简洁的操作类。

安装
--

[](#安装)

> composer require lessok/lib

### db类使用教程

[](#db类使用教程)

1. 创建user数据表

```
CREATE TABLE `user` (
	`id` INT(10) NOT NULL AUTO_INCREMENT,
	`name` VARCHAR(50) NULL DEFAULT NULL COMMENT '姓名',
	`age` INT(10) NULL DEFAULT NULL COMMENT '年龄',
	`sex` ENUM('男','女') NULL DEFAULT NULL COMMENT '性别',
	PRIMARY KEY (`id`) USING BTREE
)
ENGINE=InnoDB;
```

2. mysql操作示例

```

```

### http操作类

[](#http操作类)

```

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

2

Last Release

1588d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/983b038698c5cc925f399e04ff95f8f4334e26786e26db8addac651d3efcb84f?d=identicon)[lessok](/maintainers/lessok)

---

Top Contributors

[![lessok](https://avatars.githubusercontent.com/u/56945353?v=4)](https://github.com/lessok "lessok (9 commits)")

### Embed Badge

![Health badge](/badges/lessok-lib/health.svg)

```
[![Health](https://phpackages.com/badges/lessok-lib/health.svg)](https://phpackages.com/packages/lessok-lib)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
