书栈网 · BookStack 本次搜索耗时 0.012 秒,为您找到 857 个相关结果.
  • Upgrade Guide

    Upgrade Guide PHP Version Requirement Breaking changes to Slim\App constructor Removed App Settings Changes to Container Changes to Routing components New Middleware Approach ...
  • Index

    637 2019-09-21 《Slim 2 Document》
    Slim 2 Documentation Slim Framework v2 Install Usage Testing Contributing Security Credits License Slim 2 Documentation Slim Framework v2 Slim is a PHP micro frame...
  • 7.1. 500 系统错误处理器

    677 2019-09-21 《Slim 3 中文文档》
    500 系统错误处理器 默认的错误处理器 自定义错误处理器 Pre App Post App 禁用 500 系统错误处理器 Edit This Page 出问题了!你并不能预知错误,但你可以预料到。每个 Slime 框架应用程序都有一个错误处理器用于接收所有未抓取的 PHP 异常。这个错误处理器同样能接收当前 HTTP 的请求对象和响应...
  • 2.3. 依赖容器(Dependency Container)

    548 2019-09-21 《Slim 3 中文文档》
    依赖容器(Dependency Container) 如何使用容器 必需的服务 依赖容器(Dependency Container) Slim 使用依赖容器来准备、管理和注入应用程序的相关依赖。Slim 支持 Container-Interop 接口实现的容器。你可以使用 Slim 的内置容器(基于 Pimple )或者第三方的容器,比如 Ac...
  • Defaults

    374 2019-09-21 《Slim 2 Document》
    Defaults Defaults These are the default hooks always invoked in a Slim application. slim.before This hook is invoked before the Slim application is run and before output buff...
  • How to Use

    444 2019-09-21 《Slim 2 Document》
    How to use Example Middleware Add Middleware How to use Use the Slim application’s add() instance method to add new middleware to a Slim application. New middleware willsurr...
  • 404 Not Found

    582 2019-09-21 《Slim 2 Document》
    404 Errors Set not found handler Invoke not found handler 404 Errors It is an inevitability that someone will request a page that does not exist. The Slim application lets yo...
  • Names

    401 2019-09-21 《Slim 2 Document》
    Names Names Slim lets you assign a name to a route. Naming a route enables you to dynamically generate URLs using the urlForhelper method. When you use the Slim application’s u...
  • Modes

    435 2019-09-21 《Slim 2 Document》
    Modes What is a mode? How do I set the application mode? Use an environment variable Use application setting Default mode Configure for a Specific Mode Modes It is common...
  • Installation

    Installation System Requirements Step 1: Install Composer Step 2: Install Slim Step 3: Install a PSR-7 Implementation and ServerRequest Creator Slim PSR-7 Nyholm PSR-7 and Nyho...