https://github.com/ironexdev/frostnova-starter
Starter project for Frostnova - a fully customizable and PSR compatible PHP framework.
https://github.com/ironexdev/frostnova-starter
Last synced: over 1 year ago
JSON representation
Starter project for Frostnova - a fully customizable and PSR compatible PHP framework.
- Host: GitHub
- URL: https://github.com/ironexdev/frostnova-starter
- Owner: ironexdev
- Created: 2022-05-21T22:09:54.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-22T00:21:43.000Z (about 4 years ago)
- Last Synced: 2025-02-22T12:46:19.491Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frostnova Starter Project
Starter project for [Frostnova](https://github.com/ironexdev/frostnova) - a fully customizable and [PSR](https://www.php-fig.org) compatible PHP framework.
## Requirements
- PHP `^8.0.0`
## How to create a new project
Run `composer create-project frostnova/starter `
## Hints
- Run `composer run add-docker` to add Docker environment for the project
- Rename project in `composer.json`
- Define interfaces in `config/config-di.php`
- Define routes in `config/api/routes.php`
- Create custom `AbstractController` and extend `Frostnova\Api\AbstractController` to override selected methods to add custom response handling
- Search (case insensitive) for frostnova and frost nova in the project and replace it with your project's name
- Configure or comment out `CorsMiddleware` in `config/config-di.php`
- Middleware is handled before request gets to `Controller`