livesugar / framework
Live Sugar Framework
Package info
github.com/LiveSugar/framework
Language:JavaScript
Type:project
pkg:composer/livesugar/framework
0.0.7
2018-09-10 21:04 UTC
Requires
- php: >=7.2.4
- livesugar/kernel: >=0.1.5
This package is not auto-updated.
Last update: 2026-03-15 03:56:20 UTC
README
Install
With create directory to latest stability version
composer create-project livesugar/framework
Current directory
composer create-project livesugar/framework .
Version of develop to current directory
composer create-project --prefer-dist livesugar/framework . dev-master@dev
Examples
Call apps to HTTP GET query
http://example.com?apps=uuid
Call view to HTTP GET query
http://example.com?view=page/index
Call apps to PHP file
$this->nameapps(); # or $this->namespace->nameapps(); # or $this->categoryapps->nameapps();
Call apps to PHTML file
<div><?php echo self::$apps->nameapps() ?></div> <div><?php echo self::$apps->nameclass->namemethod() ?></div>
Call view to PHTML file
<div><?php echo self::$view->nameview(); ?></div>