codesvault/kathamo-generator

Kathamo Generator is the CLI for Kathamo framework.

1.3.2 2023-07-26 20:44 UTC

This package is auto-updated.

Last update: 2024-11-27 00:00:59 UTC


README

Kathamo Generator is the CLI for Kathamo framework.
It can create new plugin with Kathamo framework and also can generate Controller, Migration file, Middleware, etc components for Kathamo framework.


Documentation

To know about Kathamo framework, visit kathamo.dev



Installation

Install using composer as global package.

composer global require codesvault/kathamo-generator

Add Composer's system-wide vendor bin directory in your $PATH, so that Kathamo executable can be located by your system.
  • macOS: $HOME/.composer/vendor/bin
  • Windows: %USERPROFILE%\AppData\Roaming\Composer\vendor\bin
  • GNU / Linux Distributions: '$HOME/.config/composer/vendor/bin or $HOME/.composer/vendor/bin'

If you've already have added composer's bin folder to your path, you can use the command kathamo right away from your terminal.

However, if you prefer not to modify the PATH variable, you can also create an alias in your .bashrc or .zshrc file like below:

alias kathamo="$(composer config -g home)/vendor/bin/kathamo"



Usage

Create a new plugin with Kathamo framework. From your terminal run this command

kathamo create:plugin

Create Controller, Migration file, Middleware, Service.

kathamo make:controller
kathamo make:migration
kathamo make:middleware
kathamo make:service