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(3mo ago)02MITPHPPHP &gt;=8.2

Since Jan 21Pushed 3mo 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 1mo ago

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

33

—

LowBetter than 75% of packages

Maintenance78

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

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

116d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/75467020b382752e91918d3e0e2a188246808af65678f1ca7b1dc6a73d9ff71c?d=identicon)[pcoundia](/maintainers/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

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[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)[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)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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