kuick / framework
Kuick is an extremely low footprint application framework, suitable for high throughput workloads
Installs: 5 301
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Requires
- php: >=8.2.0
- ext-date: *
- ext-json: *
- ext-mbstring: *
- ext-reflection: *
- ext-spl: *
- kuick/cache: ^1.5
- kuick/dotenv: ^1.0
- kuick/event-dispatcher: ^1.1
- kuick/http: ^2.0
- kuick/routing: ^1.1
- kuick/security: ^1.1
- monolog/monolog: ^3.0
- nyholm/psr7: ^1.8
- nyholm/psr7-server: ^1.1
- php-di/php-di: ^7.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
- symfony/console: ^7.1
- zircote/swagger-php: ^4.11
Requires (Dev)
- kuick/qa-toolkit: ^1.0
- dev-main
- v2.4.1
- v2.4.0
- v2.3.1
- v2.3.0
- v2.2.6
- v2.2.5
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.6
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.11
- v1.0.10
- v1.0.9
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-feature/env-specific-configuration
- dev-feature/performance-improvements
- dev-feature/config-loader-performance-optimization
This package is auto-updated.
Last update: 2025-02-13 16:36:34 UTC
README
Kuick is an extremely low footprint PHP application framework. Designed for developers seeking speed, efficiency, and flexibility in web application development.
Key features
- Logging realized with PSR-3 Logger Interface implementation
- Integrated PSR-7 HTTP message interface
- PSR-11 Container
- Implemented Event Dispatcher compatible with PSR-14
- Request handling compatible with PSR-15
- PSR-16 Caching
Basic Usage
- Make sure you have PHP >= 8.2 and Composer installed on your system
- Require the framework to your project
composer require kuick/framework
- Run the installer
./vendor/bin/kuick-installer
Creating Kuick project
Convenient way to develop projects based on Kuick is to create a kuick/project with Composer.
- Follow those instructions: kuick/project
Docker Demo
Ready to deploy images you can find here: https://hub.docker.com/r/kuickphp/kuick/tags
- Run using Docker This example utilizes the smallest, Alpine distribution.
docker run -p 8080:80 kuickphp/kuick:alpine
Now you can try it out by opening http://localhost:8080/
- Examine sample routes:
- Homepage:
curl http://localhost:8080/
- Hello/ping:
curl http://localhost:8080/hello/John
- Container runtime configuration:
- dev mode enabled
- custom app name
- custom localization (charset, locale, timezone)
- DEBUG log with microtime
- custom OPS API token
docker run -p 8080:80 \
-e APP_ENV=dev \
-e APP_NAME=ExampleApp \
-e APP_CHARSET=UTF-8 \
-e APP_LOCALE=en_US.utf-8 \
-e APP_TIMEZONE="Europe/Warsaw" \
-e APP_LOG_USEMICROSECONDS=1 \
-e APP_LOG_LEVEL=DEBUG \
-e API_SECURITY_OPS_GUARD_TOKEN=secret-token \
kuickphp/kuick:alpine
OPS endpoint:
curl -H "Authorization: Bearer secret-token" http://localhost:8080/api/ops