joinapi/laravel
最新稳定版本:v1.0.1
Composer 安装命令:
composer create-project joinapi/laravel
包简介
A starter template for building projects with Laravel and FilamentPHP.
README 文档
README
Table of Contents
Features
Security and Testing
- PESTPHP: Preconfigured with test cases for streamlined testing. (Learn more)
- Strict mode enabled via Should Be Strict:
- Prevents lazy loading (N+1 queries).
- Guards against discarding or accessing missing attributes.
- Production safeguards: Prevents destructive commands in production. (Learn more)
- Architectural testing with Archtest.
- Static analysis using PHPStan.
- Debugging with Laravel Debugbar.
Quality of Life
- Custom login page autofills email and password with seeded data for quicker testing.
- Built-in password generator action on the user profile and user resource pages.
- Enhanced global search includes email addresses for better discoverability.
- Auto-translatable component labels.
composer review: A single command to run Pint, PHPStan, and PEST.- Helper functions available through a dedicated helper file.
- Custom
php artisan make:filament-actioncommand for generating Filament actions.
Design
- Filament Panel's primary color is preset to blue.
- Single Page Application (SPA) mode enabled by default.
- Global search keybinding set to
CTRL + KorCMD + K. - A ready-to-use FilamentPHP custom theme, including a sidebar separator.
- Enhanced profile page with a built-in password generator.
Default User
A default user is seeded with the following credentials, pre-filled on the login page for quick access:
DEFAULT_USER_NAME="John Doe" DEFAULT_USER_EMAIL="admin@example.com" DEFAULT_USER_PASSWORD="password"
Installation
Using the Template
- Create a repository using the Larament template.
- Clone your repository to your local machine. Navigate to the project directory and run the following commands:
composer install
npm install && npm run build
cp .env.example .env
php artisan key:generate
php artisan migrate
php artisan db:seed
CLI Installation
Alternatively, you can use the following command to create a new project with Larament:
composer create-project --prefer-dist joinapi/laravel example-app
Create a Terminal Alias
For easier usage in future projects, create an alias in your terminal:
alias joinapp="composer create-project --prefer-dist joinapi/laravel"
Now, you can create a new project with a simple command:
joinapp my-cool-app
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-05