Skip to content

Simple rota app based on Slim v3.0, Twig, Authentication and Redbean

License

Notifications You must be signed in to change notification settings

aodkrisda/oncallslim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

On Call Slim 3 App

based on the skeleton akrabat/slim3-skeleton

This is a simple project for Slim 3 that includes Twig, Flash messages and Monolog. In addition this project also has Redbean and Authentication.

Clone this project:

$ composer create-project -n -s dev neilmillard/oncallslim my-app

Run it:

  1. $ cd my-app
  2. $ php -S 0.0.0.0:8888 -t public public/index.php
  3. Browse to http://localhost:8888

Key directories

  • app: Application code
  • app/src: All class files within the App namespace
  • app/templates: Twig template files
  • cache/twig: Twig's Autocreated cache files
  • log: Log files
  • public: Webserver root
  • vendor: Composer dependencies

Key files

  • public/index.php: Entry point to application
  • app/settings.php: Configuration, copy from settings_dist.php
  • app/dependencies.php: Services for Pimple
  • app/middleware.php: Application middleware
  • app/routes.php: All application routes are here
  • app/src/Action/HomeAction.php: Action class for the home page
  • app/templates/home.twig: Twig template file for the home page

IIS

Ensure the Web.config and index.php files are in the same public-accessible directory.

About

Simple rota app based on Slim v3.0, Twig, Authentication and Redbean

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 63.0%
  • HTML 21.4%
  • JavaScript 8.9%
  • CSS 6.3%
  • ApacheConf 0.4%