Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uzsoftic/micro-framework
OpenSource MicroFramework Build in PHP
https://github.com/uzsoftic/micro-framework
composer config env micro micro-framework php php-framework route twig
Last synced: about 2 months ago
JSON representation
OpenSource MicroFramework Build in PHP
- Host: GitHub
- URL: https://github.com/uzsoftic/micro-framework
- Owner: uzsoftic
- Created: 2023-02-11T15:08:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-01T19:02:27.000Z (about 1 year ago)
- Last Synced: 2023-10-01T22:44:54.809Z (about 1 year ago)
- Topics: composer, config, env, micro, micro-framework, php, php-framework, route, twig
- Language: Twig
- Homepage:
- Size: 993 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## OpenSource MicroFramework Build in PHP
### Test
### Usage
```shell
composer install
```
```shell
cp .env.example .env
```### Configure
#### Database Connection
```dotenv
DB_CONN="mysql"
DB_HOST="127.0.0.1"
DB_PORT="3306"
DB_NAME="database"
DB_USER="root"
DB_PASS=""
```### Run local server
```shell
php run serve
```### Clear all caches
```shell
php run optimize
```### Used Library
- vlucas/phpdotenv
- twig/twig
- symfony/var-dumper### Used Documents
- https://phprouter.com/