artisan-build/laravel-nodeless
Composer 安装命令:
composer create-project artisan-build/laravel-nodeless
包简介
A Laravel Livewire starter kit with no Node, npm, Vite, or frontend build step.
README 文档
README
Laravel Nodeless is a Laravel starter kit for building Livewire applications without a frontend build system.
It starts from Laravel's official Livewire starter kit, then removes Node, npm, Vite, Tailwind compilation, and all related CI steps. The result is a PHP-first application scaffold that can be installed, developed, tested, and deployed with Composer and Laravel tooling only.
Philosophy
Laravel is productive because the framework gives you a cohesive, batteries-included path for building server-rendered applications. This starter kit keeps that path intentionally small:
- No Node runtime requirement.
- No npm install step.
- No Vite dev server.
- No frontend build step in local development, CI, or deployment.
- Livewire and Flux remain the primary UI layer.
- Static CSS, JavaScript, and fonts are checked in under
public/buildand served directly by Laravel.
This tradeoff is deliberate. You give up an editable Tailwind/Vite pipeline in exchange for a starter kit that works in PHP-only environments and has fewer moving parts.
What's Included
- Laravel 13
- Livewire 4
- Flux 2
- Fortify authentication
- Two-factor authentication
- Passkey support
- Prebuilt Tailwind/Flux assets served from
public/build
What's Removed
package.jsonpackage-lock.jsonnode_modulesvite.config.jsresources/css/app.cssresources/js/*- npm and Vite steps from Composer scripts and GitHub Actions
Getting Started
Install dependencies and prepare the application:
composer install cp .env.example .env php artisan key:generate php artisan migrate
Run the development server:
php artisan serve
Run the test suite:
php artisan test
Composer Scripts
This starter kit includes an opinionated Composer workflow for keeping Laravel applications ready to ship:
composer setupinstalls dependencies, creates.env, generates the app key, and runs migrations.composer devstarts Laravel's local development server without Vite or Node.composer lintruns Laravel Pint and fixes PHP style issues.composer test:lintruns Laravel Pint in check-only mode.composer lint:checkis an alias for the check-only Pint run.composer rectorruns Rector with the Laravel code quality, collection, and Laravel level sets.composer stanruns PHPStan through Larastan at level 6.composer testclears cached config, checks PHP formatting, and runs the Laravel test suite.composer ide-helperregenerates Laravel IDE Helper files and model mixins.composer readyruns IDE helper generation, Rector, Pint, PHPStan, tests, and Composer audit.composer reportruns Rector, Pint, PHPStan, tests, and Composer audit as a non-blocking report.composer ci:checkruns the default project test check used by this starter kit.php artisan freshresets the database to a fresh, seeded state. You can add additional steps to set your application up for local development.php artisan flux:proinstalls Flux Pro by adding the Flux Pro Composer repository and requiringlivewire/flux-pro. This assumes your Flux Pro credentials are already saved globally; if they are not, runphp artisan flux:activateinstead.
Working With Assets
The starter kit intentionally does not require a source asset pipeline. Application CSS, font CSS, fonts, and the passkey browser helper are committed as static files in public/build/assets.
By default, there is still no frontend build step. The application loads public/build/assets/app.css, public/build/assets/fonts.css, and public/build/assets/passkeys.js directly.
If CSS size matters or you add Tailwind classes and want to regenerate the checked-in CSS, run the opt-in optimizer:
php artisan tailwind:optimize
The command downloads the standalone Tailwind CSS CLI for your operating system, caches it under storage/app/tools, scans the configured Tailwind sources, and writes the optimized output to public/build/assets/app.css. It does not require Node, npm, or Vite, and it is not part of the default setup or CI workflow.
You can force a fresh CLI download or change paths when needed:
php artisan tailwind:optimize --force-download php artisan tailwind:optimize --tailwind-version=v4.3.0 php artisan tailwind:optimize --input=resources/css/tailwind.css --output=public/build/assets/app.css
Repository
This project lives at artisan-build/laravel-nodeless.
artisan-build/laravel-nodeless 适用场景与选型建议
artisan-build/laravel-nodeless 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 06 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「laravel」 「livewire」 「nodeless」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 artisan-build/laravel-nodeless 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 artisan-build/laravel-nodeless 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 artisan-build/laravel-nodeless 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Livewire starter kit for Lunar e-commerce.
Views for the package MedicOneSystems Livewire Datatables with Bootstrap 4
Livewire component that provides drawers (slide overs) that support multiple children while maintaining state.
Simple Livewire notifications system without any dependencies except TALL-stack.
Laravel+livewire phone auth module
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 38
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-09