PHPackages                             kapcus/classgenerator - 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. [Database &amp; ORM](/categories/database)
4. /
5. kapcus/classgenerator

ActiveLibrary[Database &amp; ORM](/categories/database)

kapcus/classgenerator
=====================

Class Generator of table classes by database structure

v0.1.3(7y ago)113MITPHPPHP &gt;=5.6

Since Aug 3Pushed 7y ago1 watchersCompare

[ Source](https://github.com/kapcus/classgenerator)[ Packagist](https://packagist.org/packages/kapcus/classgenerator)[ RSS](/packages/kapcus-classgenerator/feed)WikiDiscussions master Synced 3d ago

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

ClassGenerator
==============

[](#classgenerator)

Simple tool for generating classes representing tables and views in given schema.

Currently supported databases:

- `ORACLE`

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

[](#installation)

1\] Install ClassGenerator with all necessary dependencies with

```
composer require kapcus/classgenerator

```

2\] Move [config.local.neon.example](misc/config.local.neon.example) into `classgenerator/config.local.neon` and setup classgenerator.database section, output directory and namespaces.

3\] run this to verify if ClassGenerator is properly installed and configured

```
php bin/console.php classgenerator:check

```

Usage
-----

[](#usage)

```
php bin/console.php classgenerator:generate

```

This command will generate all classes into `outputDirectory` with proper `classNamespace` and `datatypeNamespace`.

========================================

TODO
----

[](#todo)

- remove COLUMN\_EXCEPTIONS from Manager class
- remove $typeMapping from Manager class
- resolve abstract Table
- resolve DataTypes
- introduce kapcus/core and remove some classes

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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 ~0 days

Total

4

Last Release

2842d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0bd1754aba1012347de87b08aadfb653185f14a36a529a5cdc08339369f96e80?d=identicon)[kapcus](/maintainers/kapcus)

---

Top Contributors

[![kapcus](https://avatars.githubusercontent.com/u/1415794?v=4)](https://github.com/kapcus "kapcus (1 commits)")

### Embed Badge

![Health badge](/badges/kapcus-classgenerator/health.svg)

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

###  Alternatives

[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M191](/packages/spatie-laravel-backup)[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2592.8M263](/packages/ssch-typo3-rector)[guikingone/scheduler-bundle

A Symfony bundle that allows to schedule and create repetitive tasks

114217.4k](/packages/guikingone-scheduler-bundle)[worksome/foggy

Foggy is a tool for making database dumps with some data removed/changed.

26571.7k1](/packages/worksome-foggy)[psx/sql

Generate type-safe PHP classes from your database

1773.4k4](/packages/psx-sql)[bartlett/php-compatinfo-db

Reference Database of all functions, constants, classes, interfaces on PHP standard distribution and about 110 extensions

1183.0k1](/packages/bartlett-php-compatinfo-db)

PHPackages © 2026

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