xujiajun/tast-symfony

There is no license information available for the latest version (dev-master) of this package.

a PHP framework based on Symfony Components, Sexy and Powerful

dev-master 2015-12-04 10:08 UTC

This package is not auto-updated.

Last update: 2024-11-09 18:59:27 UTC


README

a PHP framework based the Symfony components, Sexy and Powerful.

##Foreword

继承symfony2的优秀思想及做法,比如bundle机制、组件化等,组建一个更简单好用的全栈框架.

Features(不定时更新)

  • symfony style
  • M(Service/Dao)VC 架构
  • 基于composer管理
  • Twig引擎
  • console 命令行工具
  • Annotations
  • Debug
  • Doctrine DBAL
  • EventDispatcher
  • More

##Requirements

PHP5.4+

Usage

step1:

git clone https://github.com/tastphp/tast-symfony

step2:

copy 一份.env.example,重命名为.env

step4:

//config/db.yml
//配置数据库
doctrine:
    dbal:
        driver:   pdo_mysql
        dbname:   symfony-demo
        user:     root
        password: 123
        charset:  UTF8
        server_version: 5.6

step5:

配置你的web server 
or 
直接 cd web & php -S 127.0.0.1:9000,访问http://127.0.0.1:9000,its runing!

License

MIT Licensed