yourivw/sailor-services
Composer 安装命令:
composer require yourivw/sailor-services
包简介
Personal services for Sailor.
README 文档
README
This package contains my own services and settings for yourivw/sailor.
Installation
Install this package as a dev dependency using composer:
composer require yourivw/sailor-services:dev-main --dev
Usage
See the documentation of yourivw/sailor for information on usage.
Services
HTTPS
The HTTPS service is a proxy based on the Nginx docker image, forwarding HTTPS traffic to Laravel. A certificate and CA certificate are automatically generated using mkcert. The CA can be changed by (re)placing the required files in ./.docker/https/CA, or by specifying a different directory containing these files (./.docker/https/CA:/etc/nginx/CA in the docker-compose file). Two files are expected in this CA directory, rootCA.pem containing the CA certificate, and rootCA-key.pem containing the PKCS#8 private key.
Proxies
Extra proxies can be added by modifying the SSL_SERVICES environment variable. In the following example, port 443 will be forwarded to port 80 on the laravel.test service, and port 8443 will be forwarded to port 80 on the api service.
https: environment: SSL_SERVICES: 'laravel.test:80:443;api:80:8443'
Certificate domains
By default the following domains/IP's will be added to the certificate:
- $APP_SERVICE (from .env, defaults to laravel.test)
- *.$APP_SERVICE
- localhost
- 127.0.0.1
Additional domains/IP's can be added as a string through the CERT_DOMAINS environment variable:
https: environment: CERT_DOMAINS: 'laravel.local laravel.example 192.168.2.1
PHPMyAdmin
A service based on the PHPMyAdmin docker image with basic configuration. See related documentation for additional configuration.
Redis Commander
A service based on the redis-commander docker image with basic configuration. See related documentation for additional configuration.
RedisInsight
A service based on the RedisInsight docker image with basic configuration. See related documentation for additional configuration. An connection to redis:6379 is pre-added, named 'Local'.
Contributing
Since this package contains my personal services, I'm not accepting contributions to this package.
License
This package is open-sourced software licensed under the MIT license.
yourivw/sailor-services 适用场景与选型建议
yourivw/sailor-services 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 47 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 04 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「services」 「sailor」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 yourivw/sailor-services 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 yourivw/sailor-services 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 yourivw/sailor-services 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Environment processor and contexts autoloader
A PHP client for the Salesforce SOAP API
This package includes a script and fail2ban configuration that allows you to use fail2ban when utilizing AWS elastic load balancer (ELB) and an apache webserver.
Symfony bundle to connect AWS sns and sqs to create offline queue processing
Integrate Sailor into Symfony
Sailor theme for hiqdev/yii2-thememanager
统计信息
- 总下载量: 47
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-04-01