# coole
**Repository Path**: seczone_1/coole
## Basic Information
- **Project Name**: coole
- **Description**: Coole is a PHP micro-framework built on an open source component package. - Coole 是一个基于开源组件包构建的 PHP 微框架。
- **Primary Language**: PHP
- **License**: MIT
- **Default Branch**: main
- **Homepage**: https://www.guanguans.cn/coole
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 2
- **Created**: 2021-04-15
- **Last Updated**: 2021-06-20
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README

> Coole is a PHP micro-framework built on open source components. - Coole 是一个基于开源组件构建的 PHP 微框架。


[](https://codecov.io/gh/guanguans/coole)
[](//packagist.org/packages/guanguans/coole)
[](//packagist.org/packages/guanguans/coole)
[](//packagist.org/packages/guanguans/coole)
## Documentation
[www.guanguans.cn/coole](https://www.guanguans.cn/coole/)
## Life cycle

## Requirement
* PHP >= 7.2
## Installation
``` shell script
$ composer require guanguans/coole -vvv
```
## Quick start
``` php
setMiddleware(function (Request $request, Closure $next){
printf('Before response.
');
$response = $next($request);
printf('
After response.');
return $response;
});
// 3. Run service.
$app->run();
```
## Testing
``` bash
$ composer test
```
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
* [guanguans](https://github.com/guanguans)
* [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.