PHPackages                             karamel/console - 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. karamel/console

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

karamel/console
===============

console package for php

v1.0.0(5y ago)03MITPHP

Since Nov 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/karamel-pack/Console)[ Packagist](https://packagist.org/packages/karamel/console)[ RSS](/packages/karamel-console/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Karamel/Console
===============

[](#karamelconsole)

`kartizan` is a command line for ‌‌php projects.
It provides a number of helpful commands for your use while developing your application

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

[](#installation)

Installation is super-easy via Composer:

```
$ composer require karamel/console

```

After installing the package, use the following command to place the Cartesian file in the main root of your project

```
cp vendor/karamel/console/kartisan .

```

Inside this file are two `define`‍ named `CONTROLLER_NAMESPACE` and `MODEL_NAMESPACE` .

The value of these definitions determines the value of the namespace prefix to create the controller and model.

`Note that` placing these definitions is optional. If you do not use these definitions, the default value will not be considered for you and your controller and model will be created in the path that you enter when executing the command.

List of commands
----------------

[](#list-of-commands)

- `make:controller` : To create a controller
- `make:model` : To create a model
- `serve` : To run the server

Usage
-----

[](#usage)

### create Controller

[](#create-controller)

To create a ```controller``, just run the following command in the main root of the project

```
php kartisan make:controller ``controller-name``

```

sample :

```
php kartisan make:controller Panel/Blog/PostController

```

Executing the above command creates a controller called PostController in the path and namespace of the Panel/Blog .

### create Model

[](#create-model)

To create a ```Model``, just run the following command in the main root of the project

```
php kartisan make:model

```

sample :

```
php kartisan make:model Model/Post

```

Executing the above command creates a model called PostController in the path and namespace of the Model .

### Run the server

[](#run-the-server)

To run the server, just enter the following command in the terminal in the main project path .

```
php kartisan serve

```

This command also takes the following desired parameter :
‍‍`--t` : Specifies the `document root` for the server to run. By default, the value of this folder is `/public`
`--port` : Specifies your preferred port to boot the server.

sample :

```
php kartisan serve --port=8081 --t=/public

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

2024d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b8d83a976fbf1c584d10a8483b56c6892e182fc819c7b00be46e8c0f1cf0ede?d=identicon)[amir\_kalantar](/maintainers/amir_kalantar)

---

Top Contributors

[![amir-kalantar](https://avatars.githubusercontent.com/u/19429628?v=4)](https://github.com/amir-kalantar "amir-kalantar (19 commits)")

---

Tags

cliconsolemvcphp

### Embed Badge

![Health badge](/badges/karamel-console/health.svg)

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

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

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/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)
