← 返回首页
GitHub - slimphp/Tutorial-First-Application: Tutorial application code for the First Application Walkthrough · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

slimphp/Tutorial-First-Application

Go to file
Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
View all files

Repository files navigation

More items

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 vendor\bin\phinx 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.

About

Tutorial application code for the First Application Walkthrough

Resources

Stars

127 stars

Watchers

15 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Footer

© 2026 GitHub, Inc.