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 3w 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 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2070d 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

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)

PHPackages © 2026

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