Slim-Skeleton

Slim Framework 3 skeleton application

  • 所有者: slimphp/Slim-Skeleton
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Slim Framework 4 Skeleton Application

Coverage Status

Use this skeleton application to quickly setup and start working on a new Slim Framework 4 application. This application uses the latest Slim 4 with Slim PSR-7 implementation and PHP-DI container implementation. It also uses the Monolog logger.

This skeleton application was built for Composer. This makes setting up a new Slim Framework application quick and easy.

Install the Application

Run this command from the directory in which you want to install your new Slim Framework application.

composer create-project slim/slim-skeleton [my-app-name]

Replace [my-app-name] with the desired directory name for your new application. You'll want to:

  • Point your virtual host document root to your new application's public/ directory.
  • Ensure logs/ is web writable.

To run the application in development, you can run these commands

cd [my-app-name]
composer start

Or you can use docker-compose to run the app with docker, so you can run these commands:

cd [my-app-name]
docker-compose up -d

After that, open http://localhost:8080 in your browser.

Run this command in the application directory to run the test suite

composer test

That's it! Now go build something cool.

主要指標

概覽
名稱與所有者slimphp/Slim-Skeleton
主編程語言PHP
編程語言PHP (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2012-07-04 17:03:09
推送於2025-04-01 16:53:23
最后一次提交
發布數28
最新版本名稱4.5.0 (發布於 2022-11-02 16:31:56)
第一版名稱1.0.0 (發布於 2012-07-04 13:15:03)
用户参与
星數1.6k
關注者數82
派生數480
提交數448
已啟用問題?
問題數107
打開的問題數7
拉請求數163
打開的拉請求數10
關閉的拉請求數72
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?