Documentation

Installer
in package

FinalYes

Composer post-create-project installer.

Handles the setup of a new codeigniter-extension project after composer create-project is executed. Configures CodeIgniter, copies skeleton files, and sets up frontend assets.

Table of Contents

Constants

DOCROOT  = 'public'
Path to the public document root directory.
FRAMEWORK  = 'vendor/codeigniter/framework'
Path to the CodeIgniter framework directory.

Methods

run()  : void
Run the project installation process.

Constants

DOCROOT

Path to the public document root directory.

public string DOCROOT = 'public'

FRAMEWORK

Path to the CodeIgniter framework directory.

public string FRAMEWORK = 'vendor/codeigniter/framework'

Methods

run()

Run the project installation process.

public static run(Event $event) : void

Performs the following steps:

  1. Copy and configure application files
  2. Create entry point (index.php)
  3. Copy sample database schema (init.sql)
  4. Configure CodeIgniter settings
  5. Setup frontend module (npm install & build)
  6. Clean up unnecessary files
Parameters
$event : Event

Composer script event.


        
On this page

Search results