Skip to content

🚧 Custom Yet Another Framework. Use Composer、Swoole etc. as base Compents.

License

Notifications You must be signed in to change notification settings

tigercandy/horizon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version Php Version License

A Modern PHP Framework Base on PHP7 and YAF.Integrated Composer and Swoole.

Document

Environmental Requirement

  • 1.PHP >= 7.1.5
  • 2.Yaf
  • 3.Swoole
  • 4.Composer

Install

  • Clone
  • Composer install

Configuration

edit the config/app.ini

[common]
yaf.use_spl_autoload = on
yaf.environ = develop

; application
application.name = horizon
application.timezon = Asia/Shanghai
application.directory = APP_PATH "/application/"
application.bootstrap = APP_PATH "/bootstrap/Bootstrap.php"

; database
database.driver = mysql
database.charset = utf8
database.prefix = ""
database.port = 3306

; cache

; redis

; session

[product : common]
; database
database.host = localhost
database.username = root
database.password = root
database.database = test

[develop : common]
; database
database.host = localhost
database.username = root
database.password = root
database.database = test

Start Server

php public/index.php

License

MIT

About

🚧 Custom Yet Another Framework. Use Composer、Swoole etc. as base Compents.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published