PHPackages                             tourze/gb-t-4658 - 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. tourze/gb-t-4658

ActiveLibrary

tourze/gb-t-4658
================

GB/T 4658 学历代码

0.0.3(11mo ago)07MITPHPPHP ^8.1CI passing

Since Mar 24Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/tourze/gb-t-4658)[ Packagist](https://packagist.org/packages/tourze/gb-t-4658)[ RSS](/packages/tourze-gb-t-4658/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

GB/T 4658-2006 Codes for Record of Formal Schooling
===================================================

[](#gbt-4658-2006-codes-for-record-of-formal-schooling)

[English](README.md) | [中文](README.zh-CN.md)

[![Latest Version](https://camo.githubusercontent.com/67cc55958342c98c3a49f77986f003722c12d13acd23f412da2a72cf43dba780/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f67622d742d343635382e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/gb-t-4658)[![Build Status](https://camo.githubusercontent.com/ef1e8524dd52e6dafd0d9dde5cd3f4466b57de5a27aa1521c7bb1b8df39ea3cf/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746f75727a652f67622d742d343635382f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/tourze/gb-t-4658)[![Quality Score](https://camo.githubusercontent.com/4d57d089caf897e0e42f2f89c527525508043a1dfeacd1cc6eec692b933d620d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746f75727a652f67622d742d343635382e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/tourze/gb-t-4658)[![Total Downloads](https://camo.githubusercontent.com/8a4bf4f92f6a5da6c4ec53baebd584a7896763796d308b43667b510d997e59fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f67622d742d343635382e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/gb-t-4658)

A PHP 8.1+ enum implementation of GB/T 4658-2006 Codes for Record of Formal Schooling standard. This package provides a complete mapping of Chinese education system formal schooling codes, suitable for education institutions, HR management, information processing, and data exchange scenarios.

Features
--------

[](#features)

- **Complete standard compliance**: Full implementation of GB/T 4658-2006 standard
- **Type-safe**: Built with PHP 8.1+ enums for type safety
- **Rich functionality**: Provides labels, item arrays, and select options
- **Educational coverage**: Covers all levels from primary school to postgraduate education
- **Easy integration**: Simple API design for seamless integration
- **Extensible**: Supports custom labels and options through trait implementation

Installation
------------

[](#installation)

### Requirements

[](#requirements)

- PHP 8.1 or higher
- `tourze/enum-extra` package

### Install via Composer

[](#install-via-composer)

```
composer require tourze/gb-t-4658
```

Quick Start
-----------

[](#quick-start)

```
