PHPackages                             elenyum/maker - 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. elenyum/maker

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

elenyum/maker
=============

This bundle make module width controller, service and entity from json or console command.

1.0(12mo ago)022MITPHPPHP &gt;=8.1

Since Jul 6Pushed 12mo ago1 watchersCompare

[ Source](https://github.com/app-elenyum/ElenyumMakerBundle)[ Packagist](https://packagist.org/packages/elenyum/maker)[ RSS](/packages/elenyum-maker/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (16)Versions (2)Used By (0)

ElenyumMakerBundle
==================

[](#elenyummakerbundle)

**ElenyumMakerBundle** is a tool for generating Symfony modules based on Elenyum specifications (ESL). The bundle allows you to create controllers, entities, services, and repositories from a pre-defined JSON file.

---

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

[](#installation)

```
composer require elenyum/maker
```

Configuration
-------------

[](#configuration)

### 1. Add the Route

[](#1-add-the-route)

Manually add the route for module generation in `config/routes/elenyum_maker.yaml`:

```
app.maker:
  path: /elenyum/dash/maker
  methods:
    - POST
    - GET
  defaults: { _controller: elenyum_maker }
```

### 2. Configure Security

[](#2-configure-security)

Add access control rules in `config/packages/security.yaml`:

```
security:
  access_control:
    - { path: ^/elenyum/dash/maker, roles: ROLE_ADMIN }
```

### 3. Bundle Configuration

[](#3-bundle-configuration)

Create a configuration file `config/packages/elenyum_maker.yaml`:

```
elenyum_maker:
  cache:
    enable: false
    item_id: 'elenyum_maker'
  root:
    path: '%kernel.project_dir%/module'
    namespace: 'Module'
    prefix: 'Module'
  doctrine:
    names:
      - 'ElenyumAuthorizationBundle'
  securityName: 'api_key'
```

---

Usage
-----

[](#usage)

### Console Command

[](#console-command)

To create a module, use the following console command:

```
php bin/console elenyum:make -f path/to/els.json
```

- **-f, --file**: Path to the ESL specification JSON file.

### Aliases

[](#aliases)

Alias for the command:

```
php bin/console e:m -f path/to/els.json
```

---

Generated Files
---------------

[](#generated-files)

When generating a module, the following structure is created:

```
/module/{ModuleName}/v1/
├── Controller
│   ├── {Entity}GetController.php
│   ├── {Entity}ListController.php
│   ├── {Entity}PostController.php
│   ├── {Entity}PutController.php
│   └── {Entity}DeleteController.php
├── Entity
│   └── {Entity}.php
├── Service
│   └── {Entity}Service.php
└── Repository
    └── {Entity}Repository.php

```

- **Controllers** are created for `GET`, `POST`, `PUT`, `DELETE` methods.
- **Services and repositories** are generated for each entity.

---

OpenAPI Documentation
---------------------

[](#openapi-documentation)

OpenAPI documentation is generated using the `securityName` parameter from `elenyum_maker.yaml`. It is applied in the controller attributes as shown:

```
#[Auth(name: 'Bearer', model: News::class)]
```

If no authorization is required, the parameter can be left empty.

---

Example of Full Route Configuration
-----------------------------------

[](#example-of-full-route-configuration)

```
app.maker:
  path: /elenyum/dash/maker
  methods:
    - POST
    - GET
  defaults: { _controller: elenyum_maker }
```

---

Notes
-----

[](#notes)

- Configuration and route files are created manually.
- Doctrine configuration is set in `elenyum_maker.yaml`.
- The path for module generation: `%kernel.project_dir%/module`.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance50

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

363d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

creatorautogenerated-code

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/elenyum-maker/health.svg)

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

###  Alternatives

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[open-dxp/opendxp

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

9421.6k61](/packages/open-dxp-opendxp)[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.9M738](/packages/sylius-sylius)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)

PHPackages © 2026

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