Download the PHP package marekmiklusek/laravel-starter-kit without Composer
On this page you can find all versions of the php package marekmiklusek/laravel-starter-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marekmiklusek/laravel-starter-kit
More information about marekmiklusek/laravel-starter-kit
Files in marekmiklusek/laravel-starter-kit
Package laravel-starter-kit
Short Description A type-safe Laravel starter kit for developers who value code quality.
License MIT
Informations about the package laravel-starter-kit
๐ Laravel Starter Kit
A super cool Laravel 12 starter kit coming from @nunomaduro, with some modifications. โจ
โจ Features
- Laravel 12 ๐ฅ - Latest Laravel framework with streamlined structure
- PHP 8.4 โก - Modern PHP features and performance
- Tailwind CSS 4 ๐จ - Latest Tailwind with Vite integration
- Pest 4 ๐งช - Advanced testing with browser testing support
- Code Quality Tools ๐ ๏ธ - PHPStan, Laravel Pint, Rector, Prettier
- Development Workflow ๐ - Concurrent dev server, queue, logs, and Vite
๐ Requirements
- PHP >= 8.4.0
- Composer
- Node.js & NPM
- MySQL (or your preferred database)
๐ Quick Start
[!NOTE] In
config/database.php,'engine' => 'InnoDB',is used as the default for bothmysqlandmariadbconnections.In
config/essentials.php, models are unguarded by default viaUnguard::class => true. This allows mass assignment without explicitly defining$fillableproperties. You can change this setting if you prefer to use guarded models.
๐ฆ Installation
Create a new Laravel project:
Run the automated setup script:
This command will:
- Install PHP dependencies via Composer
- Create
.envfile from.env.example(if not exists) - Create
.env.productionfile from.env.example(if not exists) - Generate application key
- Run database migrations
- Install NPM dependencies
- Build frontend assets
โ๏ธ Additional Setup
๐ง Environment Configuration
After running composer setup, configure your .env file with your database credentials:
๐ Browser Testing Setup (Optional)
If you plan to use Pest's browser testing capabilities, install Playwright:
This installs the necessary browser binaries for running browser tests.
๐ Production Environment
The setup script automatically creates a .env.production file. Configure it with production-specific settings:
Configure production environment variables:
- Set
APP_ENV=production - Set
APP_DEBUG=false - Configure production database credentials
- Set secure
APP_KEY(generated during setup) - Configure mail, cache, queue, and session drivers
- Set proper logging channels
๐ป Development
๐ฅ๏ธ Running the Development Server
Start all development services concurrently:
This starts:
- Laravel development server (port 8000)
- Queue listener
- Log viewer (Pail)
- Vite dev server (Hot Module Replacement)
๐ Code Quality
๐งน Linting & Formatting
Fix code style issues:
This runs:
- Rector (PHP refactoring)
- Laravel Pint (PHP formatting)
- Prettier (frontend formatting)
๐งช Testing
Run the full test suite:
This includes:
- Type coverage (100% minimum)
- Code coverage (100% required)
- Unit and feature tests (Pest)
- Code style validation
- Static analysis (PHPStan)
๐ Available Scripts
๐ผ Composer Scripts
composer setup- Initial project setupcomposer dev- Run all development servicescomposer lint- Fix code style issuescomposer test- Run full test suitecomposer test:unit- Run Pest tests onlycomposer test:types- Run PHPStan analysiscomposer test:type-coverage- Check type coveragecomposer test:lint- Validate code stylecomposer update:requirements- Update all dependencies
๐ฆ NPM Scripts
npm run dev- Start Vite dev servernpm run build- Build for productionnpm run lint- Format frontend codenpm run test:lint- Check frontend code style
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.