paulbalandan/codeigniter4-installer

A full suite installer for CodeIgniter4.

v1.0.0 2020-07-15 14:30 UTC

This package is auto-updated.

Last update: 2024-08-29 05:09:38 UTC


README

QA Build QA Control Latest Stable Version Latest Unstable Version GitHub license contributions welcome

Installation

Using Composer, globally install this Installer using the following command:

    composer global require paulbalandan/codeigniter4-installer

Usage

Now that you have globally installed the Installer, you can just use codeigniter4 new [name] in your terminal, where name is the name of the directory, to call the scaffolding.

name here is optional. If you did not provide one, this will default to your current working directory. If name is provided, it will be resolved relative to the current working directory.

Run codeigniter4 new --help for the full options.

Options

  • --config - Supply a path to the default config values. This will be resolved relative to the $directory or cwd
  • --dev - Installs the latest CI4 developer version as framework
  • --with-git - Initializes an empty Git repository in the directory
  • --with-gitflow - Uses GitFlow to initialize the Git repository. This has --with-git option implicitly included.
  • -f|--force - Force install on existing directory.

Note: These options are not enabled by default. You should provide your set of options.