andri-sudarmawijaya/ci-copy-file-12

CI Module for CodeIgniter HMVC

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:codeigniter-module

dev-master / 1.0.x-dev 2021-08-18 04:17 UTC

This package is auto-updated.

Last update: 2024-10-18 11:23:08 UTC


README

Copy file 12 is a sample module for CodeIgniter

|-- CodeIgniter Composer Installer.

|-- Composer Installers Extender

Install for CodeIgniter Composer Installer

at install.php after installation create an array item

'CiCopyFile' => array(
    'site'  => 'github',
    'user'  => 'andri-sudarmawijaya',
    'repos' => 'CiCopyFile',
    'name'  => 'CodeIgniter Copy File 12',
    'dir'   => array('controllers','models', 'views'),
    'msg'   => 'See https://github.com/andri-sudarmawijaya/CiCopyFile/',
    'example_branch' => 'master',
),

install script using this command

php bin/install.php CiCopyFile master

Install for HMVC using Composer Installers Extender

composer require andri-sudarmawijaya/cicopyfile:1.0.x-dev

Directory Structure

in CiCopyFile directory under vendor

andri-sudarmawijaya/
|   ├── controllers/
|   |   ├── CiCopyFile.php
|   ├── models/
|   |   ├── CiCopyFile_model.php
|   ├── views/
|   |   ├── CiCopyFile/
|   |   |   ├── CiCopyFile_list.php
|   |   |   ├── CiCopyFile-form.php
|   |   |   ├── CiCopyFile_read.php

Directory Structure for CodeIgniter Composer Installer

under application directory will be :

├── controllers/
|   ├── CiCopyFile.php
├── models/
|   ├── CiCopyFile_model.php
|── views/
|   ├── CiCopyFile/
|   |   ├── CiCopyFile_list.php
|   |   ├── CiCopyFile-form.php
|   |   ├── CiCopyFile_read.php

Output Directory Structure for HMVC Composer Installers Extender

under application/module directory will be

CiCopyFile/
├── controllers/
|   ├── CiCopyFile.php
├── models/
|   ├── CiCopyFile_model.php
├── views/
|   ├── CiCopyFile/
|   |   ├── CiCopyFile_list.php
|   |   ├── CiCopyFile-form.php
|   |   ├── CiCopyFile_read.php