karim007/dev-tools
Composer 安装命令:
composer require karim007/dev-tools
包简介
This is dev tools for laravel
README 文档
README
Features
Requirements
- PHP >=7.4
- Laravel >= 6
Installation
composer require karim007/dev-tools
vendor publish (config)
php artisan vendor:publish --provider="Karim007\DevTools\DevToolServiceProvider"
After publish config file setup your credential. you can see this in your config directory devtool.php file
"access_code" => env("DEV_TOOL_ACCESS_CODE", 1111), //using this access code you will be access all routes
"response_type" => "html" // response type json/html
add it in your PreventRequestsDuringMaintenance middle ware
'/dev/live/mode/*'
**it will be look like
class PreventRequestsDuringMaintenance extends Middleware
{
/**
* The URIs that should be reachable while maintenance mode is enabled.
*
* @var array<int, string>
*/
protected $except = [
'/dev/live/mode/*'
];
}
Usage
/* access code which is you used on devtool.php default access code is 1111*/
//clear all cache,config,route,views etc
Route::get("/dev/clear/{access_code}", [DevToolController::class, "clear"]);
//migrate your file
Route::get("/dev/migration/{access_code}", [DevToolController::class, "migration"]);
//passport install
Route::get("/dev/passport/install/{access_code}", [DevToolController::class, "passportInstall"]);
//make your project maintained mode
Route::get("/dev/maintain/mode/{access_code}", [DevToolController::class, "maintainMode"]);
//make your project live mode
Route::get("/dev/live/mode/{access_code}", [DevToolController::class, "liveMode"]);
//storage symbolic link create
Route::get("/dev/storage/link/{access_code}", [DevToolController::class, "storageLink"]);
/*
** Advance dev tool routes
*/
//your controller name pass which you want to remove
Route::get("/dev/remove/controller/{access_code}/{name}", [AdvanceDevToolController::class, "removeController"]);
//your model name pass which you want to remove
Route::get("/dev/remove/model/{access_code}/{name}", [AdvanceDevToolController::class, "removeModel"]);
Contributions to the dev tools package you are welcome. Please note the following guidelines before submitting your pull request.
- Follow PSR-4 coding standards.
- Read Nagad API documentations first. Please contact with Nagad for their api documentation and sandbox access.
License
This repository is licensed under the MIT License.
Copyright 2022 md abdul karim. We are not affiliated with Nagad and don't give any guarantee.
karim007/dev-tools 适用场景与选型建议
karim007/dev-tools 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 217 次下载、GitHub Stars 达 1, 最近一次更新时间为 2022 年 12 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「dev-tools」 「laravel-dev-tools」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 karim007/dev-tools 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 karim007/dev-tools 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 karim007/dev-tools 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Laravel dev-tools
Enable https on Laravel sail powered apps.
Symfony bundle for anonymizing database records using Doctrine attributes and Faker generators. Perfect for test data generation, GDPR compliance, and data masking in development environments.
Interactive Laravel project setup command with best practices, testing tools, and CI/CD workflows
Alfabank REST API integration
Pretty log in browser console
统计信息
- 总下载量: 217
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-20