Coder Social home page Coder Social logo

framework's Introduction

ThinkPHP 5.1(LTS) —— 12载初心,你值得信赖的PHP框架

Scrutinizer Code Quality Build Status Total Downloads Latest Stable Version PHP Version License

ThinkPHP5.1对底层架构做了进一步的改进,减少依赖,其主要特性包括:

  • 采用容器统一管理对象
  • 支持Facade
  • 更易用的路由
  • 注解路由支持
  • 路由跨域请求支持
  • 验证类增强
  • 配置和路由目录独立
  • 取消系统常量
  • 类库别名机制
  • 模型和数据库增强
  • 依赖注入完善
  • 支持PSR-3日志规范
  • 中间件支持(V5.1.6+
  • 支持Swoole/Workerman运行(V5.1.18+

官方已经正式宣布5.1.27版本为LTS版本。

废除的功能:

  • 聚合模型
  • 内置控制器扩展类
  • 模型自动验证

ThinkPHP5.1的运行环境要求PHP5.6+。

安装

使用composer安装

composer create-project topthink/think tp

启动服务

cd tp
php think run

然后就可以在浏览器中访问

http://localhost:8000

更新框架

composer update topthink/framework

在线手册

命名规范

ThinkPHP5.1遵循PSR-2命名规范和PSR-4自动加载规范。

参与开发

请参阅 ThinkPHP5 核心框架包

版权信息

ThinkPHP遵循Apache2开源协议发布,并提供免费使用。

本项目包含的第三方源码和二进制文件之版权信息另行标注。

版权所有Copyright © 2006-2018 by ThinkPHP (http://thinkphp.cn)

All rights reserved。

ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。

更多细节参阅 LICENSE.txt

framework's People

Contributors

liu21st avatar huangdijia avatar yunwuxin avatar aoiujz avatar kinosang avatar vus520 avatar lofanmi avatar hongweipeng avatar pwf0112 avatar luofei614 avatar shuipf avatar 5ini99 avatar cjango avatar zzpuser avatar liuzhaowei55 avatar vancels avatar iiqi avatar yangweijie avatar oldrind avatar leunggamciu avatar g1471 avatar hugtale avatar zhylninc avatar sanyc avatar zizhilong avatar slince avatar fangrenfu avatar dongww avatar pakey avatar zoujingli avatar

Watchers

James Cloos avatar

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.