paulbalandan / codeigniter4-installer
A full suite installer for CodeIgniter4.
v1.0.0
2020-07-15 14:30 UTC
Requires
- php: ^7.2.5
- ext-mbstring: *
- ext-zip: *
- guzzlehttp/guzzle: ^7.0
- symfony/console: ^5.1
- symfony/filesystem: ^5.1
- symfony/process: ^5.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2024-11-29 05:51:34 UTC
README
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
orcwd
--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.