joshcirre/fission
Composer 安装命令:
composer create-project joshcirre/fission
包简介
An opinionated starter kit for building Laravel applications.
README 文档
README
Important
This is an opinionated starter kit created by me (Josh Cirre) using Laravel Livewire and Livewire Flux. While PRs are welcome, this is designed to fit the needs of one person.
Tip
Clone the repository and run composer setup to get started quickly. See Installation below.
TweakFlux — Deep Theming for Flux UI
Fission pairs well with TweakFlux, a theming package that lets you transform every Flux component with a single command. Override Tailwind v4 CSS custom properties to apply 20+ preset themes or generate your own — zero vendor files touched.
composer global require joshcirre/tweakflux tweakflux apply bubblegum
Why Does This Exist?
Up until Livewire Flux released, I used Breeze as a starting point for 99% of new projects that I would create. Typically, those new projects were built for demos on videos or starting points for tutorials. In addition, I would start side projects or app ideas with Breeze, as well.
Eventually I knew I wanted to create my own starting kit that worked well for what I needed in most scenarios. Authentication and a dashboard where I can start writing code.
Once Livewire Flux released, it was the perfect time to make this happen.
Flux
Fission uses Livewire Flux (free) for its UI components. No Flux Pro license is required out of the box.
If you want access to premium components (date pickers, calendars, charts, tabs, and more), you can install Flux Pro during setup when prompted for optional packages. Fission does not include any of Flux's CSS or built assets — you must have the package installed to use it.
Installation
Quick Start (Recommended)
git clone https://github.com/joshcirre/fission.git my-project
cd my-project
composer setup
Using Composer Create-Project
composer create-project joshcirre/fission my-project
cd my-project
composer setup
Note
The laravel new --using flag is not recommended due to archive extraction issues with special characters in filenames.
The composer setup command handles:
- Dependency installation
- Environment configuration (.env)
- Application key generation
- SQLite database creation
- Optional packages (Flux Pro, Filament, Bento, etc.)
- Optional teams scaffolding (defaults to no during install)
- Database migrations
- Project name configuration
- NPM dependency installation
- Asset building
During installation, Fission will ask whether you want full teams support.
- Choose
yesto keep team creation, switching, invitations, and member role management. - Choose
noto remove the team-specific backend, routes, views, and tests before setup finishes.
Working With Teams
When teams are enabled, Fission follows the starter-kit pattern for team-aware features:
- Store the active team on the user via
current_team_idand switch context from the team switcher UI. - Put team-owned features under a team URL when the page itself is team-specific, for example
/{team}/playground. - Model team-owned records with a
team_idforeign key and query through the bound team, not globally. - Authorize access through team membership or team policies, for example
->can('view', 'team')on routes. - Keep generic account pages like
/profileunscoped unless the page is explicitly about a team.
Development
composer dev # Start server, queue, logs, and Vite
Code Quality
Fission enforces strict code quality through automated tooling:
composer fix # Fix everything: types, refactoring, formatting composer test # Run all checks: tests, linting, types, refactoring
| Command | Purpose |
|---|---|
composer fix |
PHPStan → Rector → Prettier → Pint |
composer test |
Typos → Pest → Lint check → PHPStan → Rector dry-run |
composer lint |
Pint + Prettier (quick format) |
composer refactor |
Rector only |
Individual Test Commands
composer test:unit # Pest tests (parallel) composer test:unit:coverage # Pest with coverage composer test:types # PHPStan analysis composer test:lint # Check formatting (no fix) composer test:refactor # Rector dry-run composer test:typos # Peck typo checker
Tooling Stack
- Pest - Testing framework
- PHPStan + Larastan - Static analysis (max level)
- Rector - Automated refactoring
- Pint - PHP code style (strict Laravel)
- Prettier - JS/CSS formatting
- Peck - Typo detection
Recommended AI Skills
If you use AI coding assistants with this project, these skills provide useful context for the stack:
| Skill | Install |
|---|---|
| Flux UI Development — Flux UI component usage, variants, and patterns | npx skills add laravel/boost --skill fluxui-development |
| Livewire Development — Livewire 4 component patterns, directives, islands, and testing | npx skills add spatie/freek.dev@livewire-development |
| TweakFlux Theme Generator — Generate custom Flux UI themes from descriptions or palettes | tweakflux boost (requires joshcirre/tweakflux) |
| Playwriter — Control your actual Chrome browser from AI agents (requires Chrome extension) | Included in .agents/skills/ · CLI: npm i -g playwriter |
Expect CLI — Adversarial browser testing for code changes (requires npm i -g expect-cli) |
Included in .agents/skills/ · Init: npx -y expect-cli@latest init |
License
The Fission starter kit is open-sourced software licensed under the MIT license.
joshcirre/fission 适用场景与选型建议
joshcirre/fission 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 250 次下载、GitHub Stars 达 209, 最近一次更新时间为 2024 年 11 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「laravel」 「starter-kit」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 joshcirre/fission 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 joshcirre/fission 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 joshcirre/fission 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Alfabank REST API integration
A modern PHP starter kit with MVC.
High-performance, opinionated PHP 8 web framework with O(1) routing, parallel async MySQL, type-safe asset bridge, and React-island frontend
The starter kit with Laravel and VueJS
统计信息
- 总下载量: 250
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 209
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-11-12
