书栈网 · BookStack 本次搜索耗时 0.014 秒,为您找到 889 个相关结果.
  • 2.3. 依赖容器(Dependency Container)

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

    669 2019-09-21 《Slim 3 Document》
    Upgrade Guide New PHP version Class \Slim\Slim renamed \Slim\App New Route Function Signature Request and response objects are no longer accessible via the Application object G...
  • Index

    788 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...
  • Defaults

    439 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...
  • 404 Not Found

    653 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...
  • Modes

    506 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...
  • How to Use

    512 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...
  • Names

    469 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...