hotash/filastkit
Composer 安装命令:
composer create-project hotash/filastkit
包简介
A modern Filament Laravel starter kit with best practices and developer tools.
关键字:
README 文档
README
A modern Laravel 12+ Filament starter kit built with the TALL stack (Tailwind CSS, Alpine.js, Laravel, Livewire) and best practices for rapid application development.
🚀 Features
- Laravel 12+ - Latest Laravel framework with modern PHP 8.4+ features
- Filament - Admin panel scaffolding (pre-installed)
- TALL Stack - Tailwind CSS v4, Alpine.js, Laravel, Livewire
- Modern Architecture - Laravel 12 streamlined structure with bootstrap/app.php configuration
- Testing Ready - Pest testing framework with comprehensive test setup
- Code Quality - Laravel Pint for code formatting, PHPStan for static analysis
- Development Tools - Vite for asset compilation, comprehensive development workflow
- CI/CD Ready - GitHub Actions with unified workflows and matrix strategies
🛠️ Tech Stack
- Backend: Laravel 12+, PHP 8.4+
- Admin Panel: Filament
- Frontend: Tailwind CSS v4, Alpine.js, Livewire
- Testing: Pest PHP
- Code Quality: Laravel Pint, PHPStan
- Build Tool: Vite
- Database: MySQL/PostgreSQL/SQLite ready
📋 Requirements
- PHP 8.4 or higher
- Composer
- Node.js & NPM
- Database (MySQL, PostgreSQL, or SQLite)
🚀 Quick Start
1. Clone the repository
git clone https://github.com/HotashTech/FilastKit.git
cd FilastKit
2. Install PHP dependencies
composer install
3. Install Node.js dependencies
npm install
4. Environment setup
cp .env.example .env php artisan key:generate
5. Configure your database in .env
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database DB_USERNAME=your_username DB_PASSWORD=your_password
6. Setup database and seed data
composer setup
7. Build assets
npm run build
8. Start development server
php artisan serve
🎨 Development Workflow
Available Composer Scripts
# Setup database (migrate fresh + seed) composer setup # Testing composer test:fix # Run tests with fixes and improvements composer test:all # Run all tests (linting, analysis, coverage, unit, browser) composer test:quick # Quick test run composer test:unit # Run only unit tests composer test:browser # Run browser tests # Code quality composer lint:fix # Fix code formatting composer lint:test # Check code formatting composer analyse # Static analysis (2GB memory limit) composer analyse:full # Static analysis (unlimited memory) composer analyse:test # Static analysis with ANSI output # Development composer dev # Start all services (server, queue, logs, vite) composer queue # Start queue worker composer schedule # Start scheduler
📦 Asset Compilation
# Development with hot reload npm run dev # Production build npm run build # Watch for changes npm run watch
🔍 Code Quality
# Format code and fix linting issues composer lint:fix # Check code quality without fixing composer lint:test # Run static analysis composer analyse:test # Run tests with fixes composer test:fix
🏗️ Project Structure
FilastKit/
├── app/
│ ├── Http/Controllers/ # Application controllers
│ ├── Filament/ # Filament resources, pages, widgets, panels
│ ├── Models/ # Eloquent models
│ ├── Services/ # Business logic services
│ └── Providers/ # Service providers
├── bootstrap/
│ ├── app.php # Application configuration (Laravel 12+)
│ └── providers.php # Service providers
├── config/ # Configuration files
├── database/
│ ├── factories/ # Model factories
│ ├── migrations/ # Database migrations
│ └── seeders/ # Database seeders
├── resources/
│ ├── css/ # CSS files
│ ├── js/ # JavaScript files
│ └── views/ # Blade templates
├── routes/
│ ├── web.php # Web routes
│ └── console.php # Console commands
└── tests/ # Pest tests
🧪 Testing
This starter kit uses Pest for testing. Tests are located in the tests/ directory:
# Run all tests with fixes and improvements composer test:fix # Run all tests (linting, analysis, coverage, unit, browser) composer test:all # Run specific test file php artisan test tests/Feature/ExampleTest.php # Run tests with filter php artisan test --filter=testName # Quick test run (without fixes) composer test:quick # Run only unit tests composer test:unit # Run browser tests composer test:browser
📚 Key Laravel 12+ Features
- Streamlined Structure: No more
app/Console/Kernel.phporRouteServiceProvider - Bootstrap Configuration: Configure routing, middleware, and exceptions in
bootstrap/app.php - Auto-registering Commands: Commands in
app/Console/Commands/are automatically available - Modern PHP Features: Constructor property promotion, typed properties, and more
🎯 Best Practices
- Use Form Request classes for validation
- Keep controllers thin with business logic in services
- Use Eloquent relationships over raw queries
- Implement proper error handling and logging
- Follow PSR-12 coding standards
- Write comprehensive tests for all features
🔧 Configuration
Laravel Pint
Code formatting is configured in pint.json and follows PSR-12 standards.
PHPStan
Static analysis is configured in phpstan.neon for code quality assurance.
Vite
Frontend build tool configuration in vite.config.js for modern asset compilation.
GitHub Actions
CI/CD workflows are configured with unified setup and matrix strategies:
- Tests: Matrix strategy with 4 shards for parallel testing
- Quality: Matrix strategy for pint, phpstan, rector, and composer checks
- Deployment: Deployment validation and migration checks
📖 Documentation
🤝 Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📄 License
This project is open-sourced software licensed under the MIT license.
🙏 Acknowledgments
- Laravel Team for the amazing framework
- Tailwind CSS for the utility-first CSS framework
- Alpine.js for lightweight JavaScript framework
- Livewire for full-stack development
- Pest PHP for elegant testing
Happy coding! 🚀
hotash/filastkit 适用场景与选型建议
hotash/filastkit 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 12 月 31 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「laravel」 「starter-kit」 「laravel-starter-kit」 「start-kit」 「hotash」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 hotash/filastkit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 hotash/filastkit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 hotash/filastkit 相关的其它包
同方向 / 同关键字的高下载量 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
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 21
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-31