PHPackages                             boboldehampsink/element-type-generator - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. boboldehampsink/element-type-generator

AbandonedArchivedApplication[Utility &amp; Helpers](/categories/utility)

boboldehampsink/element-type-generator
======================================

This script will generate a basic Craft Element Type based on the Events sample plugin by Pixel &amp; Tonic

0.2(11y ago)2201PHP

Since Mar 20Pushed 8y ago2 watchersCompare

[ Source](https://github.com/boboldehampsink/element-type-generator)[ Packagist](https://packagist.org/packages/boboldehampsink/element-type-generator)[ RSS](/packages/boboldehampsink-element-type-generator/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (4)Used By (0)

DEPRECATED - Element Type Generator
===================================

[](#deprecated---element-type-generator)

A CLI script that generates Element Types

Deprecated
----------

[](#deprecated)

With the release of Craft 3 on 4-4-2018, this tool has been deprecated. You can still use this with Craft 2 but you are encouraged to use (and develop) a Craft 3 version. At this moment, I have no plans to do so.

Arguments
---------

[](#arguments)

1. Plugin name
2. Model name
3. Section name
4. Destination

Changelog
---------

[](#changelog)

### 0.2

[](#02)

- Now rewrites file contents aswell
- Fix for ensuring lower case dirnames
- Added MIT license

### 0.1

[](#01)

- Support for creating new Element Type directory structure

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

Total

2

Last Release

4061d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3dd0df0464b4919048281ee42a9210f4323e8f3a78d046067e550992e4a5fb7e?d=identicon)[boboldehampsink](/maintainers/boboldehampsink)

### Embed Badge

![Health badge](/badges/boboldehampsink-element-type-generator/health.svg)

```
[![Health](https://phpackages.com/badges/boboldehampsink-element-type-generator/health.svg)](https://phpackages.com/packages/boboldehampsink-element-type-generator)
```

PHPackages © 2026

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