jmal-team/lola
Composer 安装命令:
composer create-project jmal-team/lola
包简介
Lola CLI.
README 文档
README
Lola is a cli that boosts your . Built on top off Laravel-Zero
Features
Commands
You can build you own custom commands in lola that is basically a list of commands that you want to a shortcut for it
Adding Commands
lola cmd:add "install filamentphp in laravel project" Enter the command that you want to add (if you have finished inserting your commands type `exit`): >> composer require filament/filament -W Enter the command that you want to add (if you have finished inserting your commands type `exit`): >> php artisan filament:install --panels Enter the command that you want to add (if you have finished inserting your commands type `exit`): >> exit added a new command
Executing Commands
and now you can execute this command:
lola cmd:exec the name of the command that you are searching for: [install-filamentphp-in-laravel-project] install filamentphp in laravel project >> install-filamentphp-in-laravel-project
Exporting Commands
lola cmd:export the name of the command that you want to export: [install-filamentphp-in-laravel-project] install filamentphp in laravel project >> install-filamentphp-in-laravel-project
this command will generate a json file called lola-commands.json
Deleting Commands
lola cmd:delete install-filamentphp-in-laravel-project
Importing Commands
lola cmd:import
The path of json file (default is lola-commands.json):
>> lola-commands.json
Archetictures
As a developer you always find things that you want always to use like some code for some configurations for payments or integrating with third party package. Lola makes that possible by saving a directory or maybe a file and we call this in Lola archeticture.
Adding Archetictures
lola arch:add ".gitignore file for laravel" What is the path of your archeticture? (default is current path): >> .gitignore added a new archeticture
Publishing Archetictures
and now you can publish this Archeticture:
lola arch:publish the name of the archeticture that you are searching for: [gitignore-file-for-laravel] .gitignore file for laravel >> gitignore-file-for-laravel
Exporting Archetictures
lola arch:export the name of the archeticture that you want to export: [gitignore-file-for-laravel] .gitignore file for laravel >> gitignore-file-for-laravel
this Archeticture will generate a json file called lola-archetictures.json
Deleting Archetictures
lola arch:delete install-filamentphp-in-laravel-project
Importing Archetictures
lola arch:import
The path of json file (default is lola-archetictures.json):
>> lola-archetictures.json
License
Lola cli is open-sourced software licensed under the MIT license.
Notes:
- if there is no commands or archs then an exception will pop up so i need to check when there is no records
- need to find a way to print archeticture better
- add a command to show the commands and archeticture with details
- check if a file is already exsits then it should ask if the user like to overwrite it or not and add some option to overwrite
- deploy it to github and ask Jawad and Afraa to try building it and contribute to it
- add some issues about features that you want to add in the future
- publish it in packagist and try composer require global loaidev6/lola
- write a convenient documentation
jmal-team/lola 适用场景与选型建议
jmal-team/lola 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1 次下载、GitHub Stars 达 1, 最近一次更新时间为 2024 年 02 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「cli」 「console」 「laravel」 「Laravel Zero」 「lola」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 jmal-team/lola 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jmal-team/lola 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 jmal-team/lola 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
This class provides you with an easy-to-use interface to progress bars.
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
A Laravel package to retrieve data from Google Search Console
Additional artisan commands for Laravel
A table generator class for the PHP CLI.
Slim starter / Slim skeleton package to boost your development with Slim framework
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-29