Skip to content

LiveSugar/framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation

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>

History

  1. WebCMF
  2. WebCMF2
  3. WebCMF3
  4. Humanity
  5. LiveSugar (current)