lou117 / core
Lightweight and pragmatic PHP microframework
Installs: 2 417
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: ^8.2
- ext-json: *
- guzzlehttp/psr7: ^2.5
- monolog/monolog: ^3.4
- nikic/fast-route: ^1.3
- psr/container: ^2.0
- psr/http-server-middleware: ^1.0
Requires (Dev)
- phpunit/phpunit: ^10.2
- dev-master
- v4.x-dev
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.x-dev
- v3.2.0
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.6
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.x-dev
- v2.0.8
- v2.0.7
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.4.4
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.x-dev
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.1
- v1.3.0
- v1.2.1
- v1.2.0
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- 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
This package is auto-updated.
Last update: 2025-03-05 12:28:34 UTC
README
Core microframework gathers some state-of-the-art PHP recommendations and components ensuring that all painful parts of any PHP application are done "the right way". It's up to you to be creative for the rest.
Core is an assembly
Core implements and assembles some PHP recommendations and popular components:
- Monolog library (https://seldaek.github.io/monolog/) for PSR-3 compliant logging;
- Guzzle PSR-7 implementation (https://github.com/guzzle/psr7) for server request and response streamlining;
- FastRoute library (https://github.com/nikic/FastRoute) for request routing;
- PSR-15 (HTTP Server Request Handlers) for middleware implementation;
- PSR-11 (Container Interface) added to Core
RequestHandlerInterface
implementation.
As such, Core is very lightweight, as it implements two of the simplest PSR recommendations ; delegating logging, routing, server request and server response building to renowned and bullet-proof libraries what are Monolog, Guzzle and FastRoute.
What do I do with Core ?
Whatever you want, from HTTP APIs to websites. Core architecture makes no assumption on what you'll gonna build with it, it just provide you with some tools easing your way to the fun part of your project: actually coding what will make it great, not the boilerplate part.
Where do I begin ?
Download Core skeleton application using Composer
(composer create-project lou117/core-skeleton
): a tutorial will help you through your journey, if you need it !