当前位置: 首页 > Skill >

Laravel Cloud

Laravel Cloud

1.0.0 2026.11.25 浏览:232
获取Skill文件查看使用说明
作者:沈舟许可证:
本文目录展开

Laravel Cloud

Operate Laravel Cloud through your OOMOL-connected account. This skill calls the laravel_cloud connector with the oo CLI; OOMOL injects credentials server-side, so you never handle raw tokens.

Running an action

Assume the user has already installed the oo CLI, signed in, and connected Laravel Cloud. Do not run oo auth login or open the connection URL proactively — just run the action. Fall back to First-time setup only when a command actually fails with an auth or connection error.

1. Inspect the contract to get the authoritative input/output schema before building a payload:

oo connector schema "laravel_cloud" --action "<action_name>"

2. Run the action with a JSON payload that matches the input schema:

oo connector run "laravel_cloud" --action "<action_name>" --data '<json>' --json
  • --data takes a JSON object string or @path/to/file.json; omit it to send {}.
  • The response is { "data": ..., "meta": { "executionId": "..." } }; the execution id lives under meta.executionId.

Each action is listed below with a one-line description; actions that change state carry a [write] or [destructive] tag. Before constructing --data, fetch the action's live schema with oo connector schema to get its authoritative input fields.

Available actions

  • get_application — Get a specific Laravel Cloud application.
  • get_deployment — Get a specific Laravel Cloud deployment.
  • get_environment — Get a specific Laravel Cloud environment.
  • get_organization — Get the Laravel Cloud organization associated with the API token.
  • list_applications — List Laravel Cloud applications for the authenticated organization.
  • list_deployments — List Laravel Cloud deployments for an environment.
  • list_environments — List Laravel Cloud environments for an application.
  • list_regions — List cloud regions currently available in Laravel Cloud.

Safety

  • Untagged actions are reads (get / list / search) — safe to run directly.
  • Actions tagged [write] change Laravel Cloud state — confirm the exact payload and effect with the user before running.
  • Actions tagged [destructive] remove or overwrite data — always confirm the target and get explicit approval first.

First-time setup

These are one-time steps — do not repeat them on every call. Run a step only when a command fails for the matching reason.

  • oo: command not found — install the oo CLI (other platforms: https://cli.oomol.com/install-guide.md):

    curl -fsSL https://cli.oomol.com/install.sh | bash    # macOS / Linux
    
    irm https://cli.oomol.com/install.ps1 | iex           # Windows PowerShell
    
  • Not signed in / authentication error — sign in to your OOMOL account once:

    oo auth login
    
  • scope_missing / credential_expired / app_not_ready / app_not_found — Laravel Cloud is not connected, or the connection expired or lacks a scope. Connect once (auth type: API key) at:

    https://console.oomol.com/app-connections?provider=laravel_cloud
    
  • HTTP 402 / OOMOL_INSUFFICIENT_CREDIT — billing stop. Recharge at https://console.oomol.com/billing/token-recharge before retrying.

Resources

  • Laravel Cloud homepage: https://cloud.laravel.com

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,031
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,029
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,017
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,014
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,011
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,011
Skill 文件

相关 Skill

更多
compound-eng-php-laravel compound-eng-php-laravel 整理现代 PHP 与 Laravel 的类型、依赖注入、Eloquent 查询和后台任务实践。 来源说明涉及 PHP 8.4 与现代 Laravel;旧项目不能直接复制新语法。
Laravel Laravel 检查 Laravel Eloquent 的 N+1 查询、关联预加载,以及队列序列化与重试陷阱。 已有 Laravel 项目;先读取 composer.lock 确认框架和 PHP 版本。
laravel-specialist laravel-specialist 围绕 Laravel 模型关系、队列、容器和应用分层制定实现与验证步骤。 来源技能面向 Laravel 10+;实际语法与组件版本先按项目依赖核对。
Laravel Package Search Laravel Package Search 通过 Packagist API 实时搜索 Laravel 包,支持本地缓存、22 种场景、质量评分以及与 laravel-docs-reader 交叉引用实现离线查阅
Laravel Docs Reader Laravel Docs Reader 提供即时的 Laravel 文档,自动检测项目版本,生成符合 PSR-12 标准的 Laravel 代码,并突出 Laravel 10 到 12 版本之间的差异。