chromabits/illuminated
最新稳定版本:v0.4.14
Composer 安装命令:
composer require chromabits/illuminated
包简介
Library of Laravel 5 utilities. (Formerly known as laravel-helpers)
README 文档
README
DEPRECATED: This package is no longer maintained. It has been replaced by https://github.com/sellerlabs/illuminated.
illuminated

Modular Laravel 5 overlay with many utilities and components (Ranging from stable, experimental to even controversial).
Components
- Alerts: A more formal interface for flashing and displaying alerts to users of your application.
- Auth: Authentication, registration and key pair storage utilities:
- HmacMiddleware: HMAC auth for APIs
- KeyPair: Storage for pairs of public and private keys.
- Database:
- Structured Migrator
- Utility migration classes
- JsonModels: Models that automatically serialize and de-serialize JSON on specified fields as they come and go to the database.
- Hashing: Aggregated hasher for automatically upgrading legacy hashes (MD5) to more secure ones on projects working existing databases or user data.
- Http: HTTP and routing utilities
- Route Mapper Interface: A simple interface for defining class versions of the
routes.phpfile. TestCase included. - Route Aggregator: Aggregates routes defined in classes implemeting the RouteMapper interface.
- ApiResponse: An opinionated API response generator.
- ResourceFactory: Build groups of routes faster and with fewer lines.
- Route Mapper Interface: A simple interface for defining class versions of the
- Jobs: A task scheduling and management framework.
- Testing: A collection of PHPUnit test cases for testing general and specific kinds of classes:
- LaravelTestCase
- ModelTestCase
- RouteMapperTestCase
- ServiceProviderTestCase
- Queue: Helpers for pushing queue jobs into SQS by the queue name, not its address.
- Style:
- CSS Inliner Service: Write your email templates using blade and do not worry about whether or not they will display correctly. The inliner service is capable of inlining a specified CSS file into a view.
- Support:
- ServiceProvider: Exactly like a regular Laravel service provider but it explicitly requires the developer to define
$defer. - ServiceMapProvider: A shortcut for creating service providers with fewer lines of code.
- ServiceProvider: Exactly like a regular Laravel service provider but it explicitly requires the developer to define
Setup
Each service in this package should be loadable by using the corresponding service provider. This is easily done by adding the provider to your app.php:
return [ // ... 'providers' => [ // Third-party service providers... Chromabits\Illuminated\Inliner\InlinerServiceProvider::class ]; ];
Some modules might have specific exceptions or additional instructions. Make sure to read the corresponding README file.
Contributing
Pull requests are accepted on GitHub. Bug fixes and small improvements are welcome. Big ideas will be reviewed and discussed.
Code Standard: PSR-2 with some additions. See https://github.com/chromabits/standard for more details.
Security
If you discover any security related issues, please email ed+security@chromabits.com instead of using the issue tracker.
License
This code is licensed under the MIT license. See LICENSE for more information.
chromabits/illuminated 适用场景与选型建议
chromabits/illuminated 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.71k 次下载、GitHub Stars 达 7, 最近一次更新时间为 2015 年 07 月 21 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 chromabits/illuminated 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 chromabits/illuminated 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 4.71k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-21