酷徒LOGO

Tutorial application code for the First Application Walkthrough

第一个应用程序演练的教程应用程序代码

将光标移到/点击文章中的句子上,可以查看译文。 显示原文      显示译文      双语对照    源址

  • 显示内容
文章标签:cod  wal  教程  walkthrough  
Tutorial application code for the First Application Walkthrough



  • Source Code:Tutorial-First-Application
  • WebSite:http://www.github.com/slimphp/Tutorial-First-Application
  • Tutorial-First-Application Documents
  • Tutorial-First-Application Download
  • Slim Tutorial

    This is the companion source code for the Slim Framework first Application Walkthrough tutorial.

    It is a very simple Slim project to serve as an example application of using Slim 3 with Monolog, Phinx, PHP views and Composer to manage dependencies.in order to use the application as it stands :

    • change the shell working directory to src
    • run php composer.phar install to get the dependencies
    • create database to use
    • then run php vendor/bin/phinx migrate (or vendorbinphinx migrate on Windows 10 ) to get your database set up (the config is in phinx.yml so adjust as appropriate for your platform )
    • adjust $config['db'] in public/index.php too
    • create logs/app.log and adjust permission as appropriate for your platform

    Patches to both tutorial and code are welcome.



    文章标签:cod  教程  wal  walkthrough  

    Copyright © 2011 HelpLib All rights reserved.    知识分享协议 京ICP备17041772号-2  |  如果智培  |  酷兔英语  |  帮酷