https://github.com/cba85/webstart-php-framework
A simple example of a PHP framework
https://github.com/cba85/webstart-php-framework
php82
Last synced: 5 months ago
JSON representation
A simple example of a PHP framework
- Host: GitHub
- URL: https://github.com/cba85/webstart-php-framework
- Owner: cba85
- Created: 2023-01-05T10:07:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-27T20:55:26.000Z (over 3 years ago)
- Last Synced: 2025-06-13T21:05:25.399Z (about 1 year ago)
- Topics: php82
- Language: PHP
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Webstart PHP framework
> For demonstration purpose only
A simple example of a PHP framework made for Webstart school.

## Install
```bash
$ composer install
```
Set up env variables by copying and setting `.env.example` file contents in a `.env` file.
## Usage
```bash
$ php -S 0.0.0.0:8080 -t public/
# or
$ composer run serve
```
## Dependencies
See [composer.json](./composer.json) file for all dependencies
* `.env` file
* Carbon for dates
* League route as router
* Twig for template engine
### Dev
* Whoops error
* Faker