GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - slimphp/Slim-Skeleton: Slim Framework 4 Skeleton Application

BranchesTags
Open more actions menu

Latest commit

 

History

448 Commits
448 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
app
app
 
 
logs
logs
 
 
public
public
 
 
src
src
 
 
tests
tests
 
 
var/cache
var/cache
 
 
.coveralls.yml
.coveralls.yml
 
 
.gitignore
.gitignore
 
 
.htaccess
.htaccess
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
docker-compose.yml
docker-compose.yml
 
 
phpcs.xml
phpcs.xml
 
 
phpstan.neon.dist
phpstan.neon.dist
 
 
phpunit.xml
phpunit.xml
 
 

Repository files navigation

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. You will require PHP 7.4 or newer.

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.

About

Slim Framework 4 Skeleton Application

www.slimframework.com

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

1.6k stars

Watchers

80 watching

Forks

472 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.