Skip to content

hoanganh25991/zend-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#zend cli

node cli really powerful to work with file system

write custom command in javscript (much more easy than bash/shell script)

zend framework need a skeleton to run, such as:

web-app-with-zend-framework-folder
    public
    config
    module
        ModuleA
            config
            src
                ModuleA
                    Controller
                    Form
                    Model
                    Mapper
            view
                module-a
                lawet
                error
            Module.php

really complicated skeleton to sketch out each time start to write new project

what if...

zend skeleton [name]

then all stuff DONE!

run app through command line, open browser at localhost:8080

php -S 0.0.0.0:8080 -t public public/index.php

any time when we need add new module, in app folder, type

zend module [name]

module-[name] CREATED, ACTIVED in application.config.php

review on YouTube

note: zend skeleton has copied "vendor", but we still need to run "composer install" to update package

About

with node CLI, easy create zend skeleton

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published