PHPackages                             helsingborg-stad/schema-library-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. helsingborg-stad/schema-library-generator

ActiveLibrary

helsingborg-stad/schema-library-generator
=========================================

A fluent builder Schema.org types and ld+json generator

2.1.0(1y ago)0142↓100%1MITPHPPHP ^8.0CI passing

Since Apr 1Pushed 1y ago3 watchersCompare

[ Source](https://github.com/helsingborg-stad/schema-library-generator)[ Packagist](https://packagist.org/packages/helsingborg-stad/schema-library-generator)[ Docs](https://github.com/spatie/schema-org)[ RSS](/packages/helsingborg-stad-schema-library-generator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (7)Versions (10)Used By (1)

Schema.org Types And ld+json Generator
======================================

[](#schemaorg-types-and-ldjson-generator)

This package is built on the excellent [spatie/schema-org](https://github.com/spatie/schema-org) package. However, it has been modified to include only the generator functionality.

The generator is designed to create a types package for working with [Schema.org](https://schema.org) objects, making it easier to define and use structured data in your projects.

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

[](#installation)

You can install the package via composer:

```
composer require --dev helsingborg-stad/schema-library-generator
```

Usage
-----

[](#usage)

You can use the package to generate a types package for your project. The generator will create a set of classes that represent the Schema.org types, making it easier to work with structured data.

### Generating the Types Package

[](#generating-the-types-package)

To generate the types package, you can use the following command:

#### Generate inside your project

[](#generate-inside-your-project)

```
vendor/bin/generate --organization -o 'Example\\Organization'
```

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance50

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

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

Total

9

Last Release

396d ago

Major Versions

0.1.6 → 1.0.02025-04-02

1.0.0 → 2.0.02025-04-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/f46fe64973c3e89d15c745c0bf601c25983bafea81d30e64d4bf813a6f8c8c7c?d=identicon)[sebastianthulin](/maintainers/sebastianthulin)

---

Top Contributors

[![thorbrink](https://avatars.githubusercontent.com/u/1064724?v=4)](https://github.com/thorbrink "thorbrink (10 commits)")

---

Tags

schema-orghelsingborg

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/helsingborg-stad-schema-library-generator/health.svg)

```
[![Health](https://phpackages.com/badges/helsingborg-stad-schema-library-generator/health.svg)](https://phpackages.com/packages/helsingborg-stad-schema-library-generator)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M367](/packages/laravel-zero-framework)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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