Skip to content

Lithium console: console command to interact with your li3 application. See http://lithify.me/

License

Notifications You must be signed in to change notification settings

eLod/li3_console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Li3 console

Lithium console: console command to interact with your li3 application.

Please note: this code is experimental and is in a very early stage, do not use it in production.

Usage

li3 console running in development environment, PHP5.3.6 (Darwin)
[development]> Environment::get()
=> 'development'
[development]> $req = new lithium\action\Request(array('url' => '/hello/test?my=data'))
=> <Request url:'/hello/test?my=data'>
[development]> $c = new HelloWorldController(array('request' => $req))
=> <HelloWorldController request:<Request url:'/hello/test?my=data'> response:<Response status:200/'OK' type:'text/html' body:''>>
[development]> $c($req, array())
=> <Response status:200/'OK' type:'text/html' body:'Hello World!'>
[development]> $c
=> <HelloWorldController request:<Request url:'/hello/test?my=data'> response:<Response status:200/'OK' type:'text/html' body:'Hello World!'>>
[development]> q
Exiting.

Credits

Thanks to nateabele, daschl, masom and the lively li3 community.

Copyright

See LICENSE.txt for details.

About

Lithium console: console command to interact with your li3 application. See http://lithify.me/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages