slick / module-api
Interfaces required to develop a Slick module
Requires
- php: >= 8.2
- psr/http-server-middleware: ^1.0@dev
- slick/di: >=2.0
- symfony/console: *
- vlucas/phpdotenv: *
Requires (Dev)
- phpspec/prophecy: ^1.0@dev
- phpspec/prophecy-phpunit: ^2.0@dev
- phpunit/phpunit: ^11.3@dev
README
Slick
is a modular framework where nearly all features are implemented as modules. Some modules
are enabled by default and cannot be disabled, while others may need to be enabled to set up
their dependencies in the dependency container, console commands, HTTP middlewares, and default
settings. It is always possible to override container services and settings for these modules.
This package is compliant with PSR-2 code standards and PSR-4 autoload standards. It also applies the semantic version 2.0.0 specification.
What’s a module?
A module is typically a package that provides specific functionality. Whether you need to develop a web application or a command line tool, modules enable you to extend the framework’s capabilities by adding command line commands, HTTP middleware handlers, and configuring the dependency container and default settings to work with.
Install
Via Composer
$ composer require slick/module-api
Testing
# unit tests
$ vendor/bin/phpunit
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email slick.framework@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.