PHPackages                             mateusgroza/ci3-make-tools - 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. [CLI &amp; Console](/categories/cli)
4. /
5. mateusgroza/ci3-make-tools

ActiveLibrary[CLI &amp; Console](/categories/cli)

mateusgroza/ci3-make-tools
==========================

CLI tools for automatically generating files in CodeIgniter 3 projects (make-style commands).

1.0.0(9mo ago)028MITPHPPHP &gt;=7.4

Since Aug 2Pushed 9mo agoCompare

[ Source](https://github.com/mateusgroza/ci3-make-tools)[ Packagist](https://packagist.org/packages/mateusgroza/ci3-make-tools)[ RSS](/packages/mateusgroza-ci3-make-tools/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

CI3 Make Tools
==============

[](#ci3-make-tools)

A CodeIgniter 3 development toolkit that provides convenient command-line tools for generating boilerplate code and managing project structure.

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

[](#installation)

Install the package via Composer:

```
composer require mateusgroza/ci3-make-tools
```

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

[](#configuration)

Add the following script to your `composer.json` file to enable the `composer make` command:

```
{
    "scripts": {
        "make": "@php vendor/mateusgroza/ci3-make-tools/bin/make"
    }
}
```

After adding the script, you can use `composer make` as the base command for all generation tasks.

Available Commands
------------------

[](#available-commands)

### Environment Variables Generator

[](#environment-variables-generator)

Create environment variables in both `env.php` and `env.php.example` (or `env.example.php`) files:

```
composer make env {CONSTANT_NAME} {VALUE_FOR_ENV_ONLY} "{DESCRIPTION}"
```

**Example:**

```
composer make env DATABASE_HOST "localhost" "Database host configuration"
```

### Migration Generator

[](#migration-generator)

Generate database migration files with various operations:

```
composer make migration {command} {table_name} {version}
```

**Parameters:**

- `command`: The migration operation (`create`, `alter`, `insert`, `update`)
- `table_name`: Name of the database table
- `version`: Migration version (defaults to last\_version + 1)

**Examples:**

```
composer make migration create users
composer make migration alter users 002
composer make migration insert products 003
composer make migration update orders
```

### Module Generator (HMVC Projects Only)

[](#module-generator-hmvc-projects-only)

Generate modules for HMVC (Hierarchical Model-View-Controller) projects:

```
composer make module {application_folder} {module_name} {submenu_name}
```

**Parameters:**

- `application_folder`: The application directory name
- `module_name`: Name of the module to create
- `submenu_name`: Name of the submenu

**Example:**

```
composer make module admin user_management users
```

Usage
-----

[](#usage)

All commands start with `composer make` followed by the specific generator and its parameters. Make sure you have properly configured the composer script as shown in the configuration section above.

Requirements
------------

[](#requirements)

- PHP 7.4 or higher
- CodeIgniter 3.x
- Composer

Contributing
------------

[](#contributing)

Feel free to contribute to this project by submitting issues or pull requests.

License
-------

[](#license)

This project is open-sourced software licensed under the MIT license.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance57

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 60% 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

280d ago

### Community

Maintainers

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

---

Top Contributors

[![mateusgroza](https://avatars.githubusercontent.com/u/209372929?v=4)](https://github.com/mateusgroza "mateusgroza (3 commits)")[![mateusrozadev](https://avatars.githubusercontent.com/u/187284140?v=4)](https://github.com/mateusrozadev "mateusrozadev (2 commits)")

### Embed Badge

![Health badge](/badges/mateusgroza-ci3-make-tools/health.svg)

```
[![Health](https://phpackages.com/badges/mateusgroza-ci3-make-tools/health.svg)](https://phpackages.com/packages/mateusgroza-ci3-make-tools)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M319](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M18](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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