eloquentize/laravel-eloquentize-client
Composer 安装命令:
composer require eloquentize/laravel-eloquentize-client
包简介
laravel library for eloquentize.com service
README 文档
README
Eloquentize provides a full-featured monitoring toolkit for Laravel applications, designed for effortless integration. By incorporating a straightforward library, leveraging a smooth API, and offering a tailor-made dashboard, it simplifies the visualization of daily project metrics. This solution facilitates the efficient tracking and aggregation of model event metrics, streamlining project management and enriching insights, all without the need for extra coding.
Getting started
Installation
You can install the package via composer:
composer require eloquentize/laravel-eloquentize-client
You can publish the config file with:
php artisan vendor:publish --tag="laravel-eloquentize-client-config"
Usage
Requirements
To get started, you'll require a Laravel project, regardless of its version; even older versions like 5.6 running on PHP 7.4 are compatible, although such setups are less common now. However, Eloquentize is designed to work seamlessly even on these versions.
Shell access is beneficial but not essential, thanks to Laravel's scheduler. Therefore, ensuring a cron job is set up on your server is necessary. If you're using Laravel Forge, simply enable the Laravel scheduler option.
Lastly, your database tables must include timestamps for Eloquentize to function correctly.
Installation
To set up Eloquentize, start by installing it through Composer with the following command:
composer require eloquentize/laravel-eloquentize-client
for php 7.4 please use
composer require eloquentize/laravel-eloquentize-client dev-php7.4
After installation, proceed to eloquentize to create your account and generate an API key. This key should then be added to your .env file in the following manner to complete the configuration process:
ELOQUENTIZE_API_TOKEN=your_api_key_here
Usage involves executing artisan commands like the one below to gather daily metrics: ( use --dry and -v for your test )
php artisan eloquentize:models-count --dry -v
You can tailor the data collection to your needs by specifying dates, event types, or selecting specific models, with aggregation commands available for deeper insights. These commands can be automated by scheduling them within App\Console\Kernel.
For those with existing projects, historical data analysis from the project's inception is facilitated through:
php artisan eloquentize:models-count-legacy
Docs
The full doc can be found Eloquentize.
Testing
pest
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
eloquentize/laravel-eloquentize-client 适用场景与选型建议
eloquentize/laravel-eloquentize-client 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 259 次下载、GitHub Stars 达 4, 最近一次更新时间为 2024 年 02 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「dashboard」 「eloquent」 「multi-project」 「eloquentize」 「laravel-eloquentize-client」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 eloquentize/laravel-eloquentize-client 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 eloquentize/laravel-eloquentize-client 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 eloquentize/laravel-eloquentize-client 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Laravel Eloquent model trait for translatable resource
A package for automatically encrypting and decrypting Eloquent attributes in Laravel 5.5+, based on configuration settings.
Help to manage meta data on Laravel Eloquent model
A package to cast json fields, each sub-keys is castable
A short description of what your package does
Scout support for MoonShine
统计信息
- 总下载量: 259
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 15
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-25