GithubHelp home page GithubHelp logo

tigercandy / horizon Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 35 KB

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

License: MIT License

PHP 80.49% HTML 19.51%
php framework yaf composer swoole

horizon's Introduction

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

horizon's People

Stargazers

Candy avatar

Watchers

Candy avatar

Forkers

guoyu07

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.