定制 cornell-custom-dev/fcs-laravel-base 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

cornell-custom-dev/fcs-laravel-base

Composer 安装命令:

composer create-project cornell-custom-dev/fcs-laravel-base

包简介

Cornell Custom Dev Laravel starter kit for FCS.

README 文档

README

This is a Laravel custom starter kit for FCS projects, including the Cornell Design System and FluxPro component libraries.

Local credentials

Add FluxPro and GitHub credentials to your home directory ~/.composer/auth.json, which will get mapped into the environment so you can access private repositories:

{
    "http-basic": {
        "composer.fluxui.dev": {
            "username": "YOUR_FLUXPRO_EMAIL",
            "password": "YOUR_FLUXPRO_LICENSE_KEY"
        }
    },
    "github-oauth": {
        "github.com": "YOUR_GITHUB_TOKEN"
    }
}

Create a new project

IMPORTANT

After running the Laravel installer, You need to replace .env.example with .env.example.stub because the Laravel installer overwrites it.

The initial install step will set the project name in composer.json, .lando.yml, .env.example.stub, and the README.md. If you need it to be different, edit those files after running laravel new ....

Follow the steps below, replacing "your-project-name":

laravel new your-project-name --using=cornell-custom-dev/fcs-laravel-base

cd your-project-name
mv .env.example.stub .env.example && cp .env.example .env
lando start

lando start will run the initial database migration.

GitHub setup

After running the installer, .gitignore will be configured so you can commit the composer.lock, package-lock.json, and vendor directory. Some helpful commands for doing that, after running lando start:

git init
git add .
git commit -m "Initial commit"

To create a new GitHub repository with the GitHub CLI based on the new project:

gh repo create CornellCustomDev/your-project-name --private --source=. --remote=origin --push

Daily use

lando artisan <command>
lando composer <command>

Layout and components

Using components

Components are used in blade files with the <x-cds syntax. For example, to use the text input forms component, you would write:

<x-cds.forms.input
    name="email"
    label="Email"
/>

You can also pass additional attributes to the component and they will be applied to the contained input element ("required" in this case). Named slots can also be used to fill attributes. For example:

<x-cds.forms.input name="name" label="Name" required>
    <x-slot:description>
        Please enter your full name.
    </x-slot:description>
</x-cds.forms.input>

Common and defaulted attributes can be found in the component's blade file, generally as @prop definitions so that an IDE can provide autocomplete.

Flux component documentation should be consulted for additional options and usage.

cornell-custom-dev/fcs-laravel-base 适用场景与选型建议

cornell-custom-dev/fcs-laravel-base 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 28 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 02 月 20 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 cornell-custom-dev/fcs-laravel-base 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-20