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(10mo ago)022MITPHPPHP &gt;=8.1

Since Jul 6Pushed 10mo ago1 watchersCompare

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

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

30

—

LowBetter than 64% of packages

Maintenance54

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

317d ago

### Community

Maintainers

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

[sylius/sylius

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

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

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[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)
