PHPackages                             cnd-api-maker/symfony - 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. [API Development](/categories/api)
4. /
5. cnd-api-maker/symfony

ActiveSymfony-bundle[API Development](/categories/api)

cnd-api-maker/symfony
=====================

v0.1.5(5mo ago)02MITPHPPHP &gt;=8.2

Since Jan 21Pushed 5mo agoCompare

[ Source](https://github.com/coundia/cnd-api-maker-symfony)[ Packagist](https://packagist.org/packages/cnd-api-maker/symfony)[ RSS](/packages/cnd-api-maker-symfony/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (14)Versions (7)Used By (0)

```
# cnd-api-maker/symfony

Symfony integration for **Cnd API Maker**.

This package builds on top of `cnd-api-maker/core` and provides:
- Symfony Bundle (service registration + config)
- Console commands
- Symfony-specific generators (API Platform resources, entities, fixtures/tests… depending on enabled modules)

## Requirements
- PHP 8.2+
- Symfony 6.4 / 7.x
- `cnd-api-maker/core`
- (optional) `api-platform/core` if you generate API Platform resources

## Install

### Public install (Packagist)
```bash
composer require cnd-api-maker/symfony
```

### Local dev install (monorepo path)

[](#local-dev-install-monorepo-path)

In your Symfony app `composer.json`:

```
{
  "repositories": [
    { "type": "path", "url": "../cnd-api-maker/packages/cnd-api-maker/core" },
    { "type": "path", "url": "../cnd-api-maker/packages/cnd-api-maker/symfony" }
  ],
  "require": {
    "cnd-api-maker/symfony": "*"
  },
  "minimum-stability": "dev",
  "prefer-stable": true
}
```

Then:

```
composer update cnd-api-maker/core cnd-api-maker/symfony
```

Usage
-----

[](#usage)

### 1) Create a JDL file

[](#1-create-a-jdl-file)

Create a `.jdl` file describing your entities and relationships.

Example: `example.jdl`

```
entity Employee {
  firstName String required
  lastName String required
  email String
}

entity Ticket {
  title String required
}

relationship OneToMany {
  Employee to Ticket{employee}
}

```

You can build JDL visually with JDL Studio:

-

### Generate from JDL

[](#generate-from-jdl)

```
php bin/console cnd:api-maker:generate --file=example.jdl
```

Common options (depending on your implementation):

- `--force` overwrite generated files
- `--dry-run` preview without writing
- `--module=...` generate into a specific module/namespace (if supported)

### 4) Database + tests

[](#4-database--tests)

If you generate Doctrine entities/migrations:

```
php bin/console doctrine:migrations:migrate
```

Run tests:

```
php bin/phpunit
```

Generated output (typical)
--------------------------

[](#generated-output-typical)

Depending on enabled generators and features, you may get:

- API Platform resources (PHP attributes)
- Doctrine entities + migrations
- DTOs / processors / providers
- Security/RBAC scaffolding
- Tests

Check your output folders (commonly `src/`, `migrations/`, `tests/`).

License
-------

[](#license)

See `composer.json`.

```
::contentReference[oaicite:0]{index=0}

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance71

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

6

Last Release

163d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/107758045?v=4)[pcoundia](/maintainers/pcoundia)[@pcoundia](https://github.com/pcoundia)

---

Top Contributors

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

---

Tags

apiplatformsymfony

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cnd-api-maker-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/cnd-api-maker-symfony/health.svg)](https://phpackages.com/packages/cnd-api-maker-symfony)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M736](/packages/sylius-sylius)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54743.1k4](/packages/jolicode-castor)

PHPackages © 2026

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