承接 william-moura/advanced-logger 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

william-moura/advanced-logger

Composer 安装命令:

composer require william-moura/advanced-logger

包简介

A lightweight, extensible logging library for PHP with multi-handler support

README 文档

README

PHP Version PSR-3 Compliant License: GPL v3

A lightweight, extensible logging library for PHP with multi-handler support.
Uma biblioteca de registro (logging) leve e extensível para PHP com suporte a múltiplos handlers.

🌟 Features | Funcionalidades

  • Multiple Handlers: Log to files, databases, Telegram, Discord, and more.
    Múltiplos Handlers: Registre em arquivos, bancos de dados, Telegram, Discord, etc.
  • PSR-3 Compliance: Compatible with any PSR-3 logger.
    Conformidade PSR-3: Integrável com qualquer biblioteca PSR-3.
  • Custom Formatters: JSON, plain text, and colored CLI output.
    Formatadores Personalizados: JSON, texto simples e saída colorida (CLI).
  • Context Support: Rich metadata (user ID, IP, exceptions).
    Suporte a Contexto: Metadados avançados (ID do usuário, IP, exceções).

🚀 Installation | Instalação

composer require william-moura/advanced-logger

📖 Basic Usage | Uso Básico

use AdvancedLogger\Logger;
use AdvancedLogger\Handlers\FileHandler;
use AdvancedLogger\Handlers\TelegramHandler;

$logger = new Logger([
    new FileHandler('/var/log/app.log'),
    new TelegramHandler('YOUR_TELEGRAM_BOT_TOKEN', 'CHAT_ID'),
]);

$logger->info('User logged in', ['user_id' => 42]);
$logger->error('Failed to connect to API', ['exception' => $e->getMessage()]);

🔧 Available Handlers | Handlers Disponíveis

Handler Description

| FileHandler Logs to files (supports rotation). |
| TelegramHandler | Sends logs to Telegram.
| Envia logs para o Telegram. |
| DatabaseHandler | Stores logs in MySQL/PostgreSQL.
| Armazena logs em MySQL/PostgreSQL. |
| DiscordHandler | Posts logs to Discord webhooks.
| Envia logs para webhooks do Discord. |

⚙️ Advanced Configuration | Configuração Avançada

Custom Formatter Example | Exemplo de Formatador Personalizado

use AdvancedLogger\Formatters\JsonFormatter;

$fileHandler = new FileHandler('/var/log/app.json');
$fileHandler->setFormatter(new JsonFormatter());

🤝 Contributing | Contribuição

1.Fork the project | Faça um fork do projeto

2.Create a branch: git checkout -b feat/awesome-feature Crie uma branch: git checkout -b feat/nova-funcionalidade

3.Commit changes: git commit -m 'Add awesome feature' Faça o commit: git commit -m 'Adiciona nova funcionalidade'

4.Push: git push origin feat/awesome-feature Envie: git push origin feat/nova-funcionalidade

5.Open a Pull Request | Abra um Pull Request

📜 License | Licença

GPL-3.0 License - See LICENSE for details.

📬 Contact | Contato

Email: williammoura908@gmail.com

GitHub: @william-moura

Issues: Report a bug

☕ Support the Project | Apoie o Projeto

English: If this library helped you in your projects, consider buying me a coffee to keep the development alive! Your support helps me create more open-source tools and maintain existing ones.

Português: Se esta biblioteca te ajudou em seus projetos, considere me pagar um café para manter o desenvolvimento ativo! Seu apoio me ajuda a criar mais ferramentas open-source e manter as existentes.

Buy me a coffee

william-moura/advanced-logger 适用场景与选型建议

william-moura/advanced-logger 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 07 月 14 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 william-moura/advanced-logger 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 william-moura/advanced-logger 我们能提供哪些服务?
定制开发 / 二次开发

基于 william-moura/advanced-logger 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2025-07-14