An open API service indexing awesome lists of open source software.

https://github.com/geggleto/course-1

Introduction to Slim PHP
https://github.com/geggleto/course-1

course micro-framework php slim tutorial

Last synced: about 1 year ago
JSON representation

Introduction to Slim PHP

Awesome Lists containing this project

README

          

# Slim Framework Introduction

### 1. Installation

- `git clone `
- `composer install`

### 2. Configuration

- Configuration is in `config/container.php`

### 3. Write some code!!

- New controllers should go in `src/Http`

### 4. Unit Tests

- Every controller should have a unit test in `tests/Http`

### 5. Run Things

- You can use `composer run` to run the PHP Built-in webserver
- You can use `composer run:tests` to run PHP Unit!