Skip to content

nhankyjangchan/eiko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File structure generator - Eiko;

File structure generator for PHP projects. Simplifies the creation of standard directories and files for a quick start of development.


Installation;

composer global require eiko/cli

Initialize Project;

eiko init

Creates a complete LeafPHP project structure:

server/
├── logs/
├── public/
│   └── index.php
├── src/
│   ├── core/
│   │   ├── Config/
│   │   └── Routes/
│   └── modules/
│       ├── Controllers/
│       ├── Middleware/
│       ├── Models/
│       └── Utils/
├── .env
├── .env.example
├── .gitignore
├── composer.json
└── README.md

After generation, run command:

cd server

Create Components;

eiko create <type> <name>

Types:

  1. controller
  2. middleware
  3. model
  4. route

Examples:

eiko create controller Post
eiko create middleware Validation
eiko create model Product
eiko create route User

About

File structure generator for PHP projects. Simplifies the creation of standard directories and files for a quick start of development.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages