Download the PHP package clintonnzedimma/woski without Composer
On this page you can find all versions of the php package clintonnzedimma/woski. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download clintonnzedimma/woski
More information about clintonnzedimma/woski
Files in clintonnzedimma/woski
Download clintonnzedimma/woski
More information about clintonnzedimma/woski
Files in clintonnzedimma/woski
Vendor clintonnzedimma
Package woski
Short Description Woski is a simple fast PHP framework for the Realm.
License MIT
Homepage https://github.com/clintonnzedimma/woski
Package woski
Short Description Woski is a simple fast PHP framework for the Realm.
License MIT
Homepage https://github.com/clintonnzedimma/woski
Please rate this library. Is it a good library?
clintonnzedimma/woski
Rate from 1 - 5
Rated 4.67 based on 3 reviews
Rated 4.67 based on 3 reviews
Informations about the package woski
Woski is a simple fast PHP framework for the Realm
The Project
🚀 Features
- PSR-4 Autoloading via Composer
- Express-style Routing
- HTTP verbs:
get,post,put,patch,delete,any - Route groups:
$app->use('/admin', _import('routes/admin.routes.php'))
- HTTP verbs:
- Middleware Pipeline
- Global middleware:
$app->use([$mw->handle]) - Route-specific & group middleware
Next/Blockcontrol flow- Debug logging with
WOSKIPHP_MIDDLEWARE_DEBUG=true
- Global middleware:
- Error Handling
- Custom 404 handlers per method or global via
$app->error()
- Custom 404 handlers per method or global via
- Request & Response Objects
$req->body,$req->query,$req->files,$req->cookies$req->hasFile('avatar'),$req->isImage('avatar')$res->json(),$res->send(),$res->sendStatus()
- Input Validation
validate($req->body, [...rules...])with aliases
- File Uploads
- Easy retrieval:
Request::file('avatar')
- Easy retrieval:
- Configuration & .env
env('KEY', $default)andconfig('app.name')helpers- All core vars prefixed
WOSKIPHP_
- Logging
logger()->info(),warning(),error(),debug()→storage/logs/woski.log
- CLI Tooling (
php woski ...)--run [--port=]→ quick dev server--make:controller=Name--make:middleware=Name--help
📦 Installation
⚙️ Quick Start
-
Bootstrap & start:
-
Run dev server:
- Generate code:
🛠 Configuration
-
Core .env variables must be prefixed
WOSKIPHP_, e.g.: - config/app.php returns an array you can access via:
🔒 Request Validation
🗂 File Uploads
🧑💻 Contributing
- Fork the repo
- Create a feature branch (
git checkout -b feature/...) - Commit your changes (
git commit -m 'Add ...') - Push to the branch (
git push) - Open a Pull Request
📄 License
Licensed under the MIT License. See LICENSE for details.
All versions of woski with dependencies
PHP Build Version
Package Version
The package clintonnzedimma/woski contains the following files
Loading the files please wait ...