Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abenevaut/yaf-cms
https://github.com/abenevaut/yaf-cms
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/abenevaut/yaf-cms
- Owner: abenevaut
- License: gpl-3.0
- Created: 2023-04-12T14:47:49.000Z (over 1 year ago)
- Default Branch: php81
- Last Pushed: 2023-06-06T15:26:19.000Z (over 1 year ago)
- Last Synced: 2024-12-23T03:51:47.612Z (13 days ago)
- Language: PHP
- Size: 241 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Yet another YAF framework
## Description
This is a simple YAF framework to start a new project.
## Setup PHP YAF extension
```
[yaf]
;
; https://www.php.net/manual/fr/yaf.configuration.php
;
yaf.use_spl_autoload=On
yaf.cache_config=
yaf.use_namespace=On
yaf.environ=
```## Setup Http server
See example at https://www.php.net/manual/en/class.yaf-router.php## Setup the framework
```
cp app.ini.example app.ini
composer install
```### Setup the database
Note that you can have multiple database connections.
The main one should be named `default`.#### MySQL
```
database..driver = "mysql"
database..host = ""
database..database = ""
database..username = ""
database..password = ""
```#### SQLite
```
// could be "default" or "whatever"
database..driver = "mysql"
database..database = ""
```## Command line interface
Convenient commands to help you in terminal.
Wink to @laravel### Commands list
```
php artisan migrate
php artisan db:seed
```## Testing
```
vendor/bin/phpunit
```