hackware/hawese-core
Composer 安装命令:
composer require hackware/hawese-core
包简介
Code shared across Hawese projects.
README 文档
README
Overview
Code shared among Hackware Web Services projects.
Main goals
- Standardize output of JSON based HTTP responses.
- Provide lightweight base class for table based models.
- Centralize common helpers.
Features
- As consumer I can get JSON based exceptions (instead of HTML based exceptions) out of the box, so that I'm able to process it with a JSON based consumer.
- As consumer I can get a pager with customizable limit on every collection of objects out of the box, so that I'm able to consult massive amounts of data with ease.
- As consumer I can sort every collection of objects in ascending or descending order so that I'm able to work with that functionality out of the box.
Sorry, I owe you a better description for this last 2:
- As programmer I can create a table based model with ease.
- User model, password and passwordless (token) authentication.
Run it
Requirements
As it's a Laravel/Lumen 5.8+ package, your server must meet the following requirements:
- PHP >= 7.1.3
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Composer
Installation
composer require hackware/hawese-core
Error codes
ModelValidationException: Failed model attribute validation.UnknownForeignObjectException: Can't find the foreign relationship inmodel::$foreign_keys.ModelObjectNotFoundException: A model object could not be found based on a key and a value.WrongCredentialsException: Wrong login password or secret.RuntimeException: Too many failed requests.RuntimeException: Unacceptable origin url or HTTP_REFERER, must listed oncors.default_profile.allow_originsconfig.
Copyright and licensing
Copyright 2019 Hackware SpA.
This project is released under the MIT License terms. You can sublicense this work. I will greatly appreaciate your contributions back. Releasing your creative works under free licenses makes the world a little better.
hackware/hawese-core 适用场景与选型建议
hackware/hawese-core 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 33 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 07 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「lumen」 「hawese」 「hackware」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 hackware/hawese-core 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 hackware/hawese-core 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 hackware/hawese-core 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Testing Suite For Lumen like Laravel does.
Stackdriver handler for Monolog (codeinternetapplications/monolog-stackdriver Fork).
Class to generate a standard structure for api json responses
Amqp classes
Audit changes of your Eloquent models in Laravel/Lumen
Laravel, Lumen and Native php elasticseach query builder to build complex queries using an elegant syntax
统计信息
- 总下载量: 33
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-07-07