codewow/starterkit

CW Starterkit is a time-saving starter kit to quickly launch Laravel 12.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

Maintainers

Package info

github.com/codewownl/starterkit

Type:project

pkg:composer/codewow/starterkit

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0


README

A easy-to-use Laravel starterkit with Filament 5 pre-configured.

Requires PHP 8.5+

Quick Start

composer create-project codewow/starterkit your-project-name
cd your-project-name
composer install
npm install
npm run build
php artisan serve

Serve with Laravel Herd: the app is available at https://your-project-name.test.

Stack

Layer Tech
Framework Laravel 12.x
Admin FilamentPHP 5.x (SPA mode, custom theme, MFA)
Defaults nunomaduro/essentials (strict models, auto-eager loading, immutable dates)
Static analysis Larastan
Code style Laravel Pint
Tests Pest 4.x (incl. browser tests)
Refactoring Rector

Developer Experience

One command to rule them all

composer review   # Pint → Rector → PHPStan → Pest

Quality & testing

  • Pintvendor/bin/pint --dirty --format agent (or composer run pint)
  • Rectorvendor/bin/rector --ansi
  • PHPStanvendor/bin/phpstan analyse
  • Pestphp artisan test --compact

CI (GitHub Actions)

  • Tests – PEST 4.x, 4 parallel shards
  • PHPStan – static analysis
  • Pint – style fix + auto-commit

Filament

  • SPA mode
  • Custom login (with developer login in local)
  • Custom theme
  • Profile management
  • MFA (App Authentication)
  • Tables: striped rows, deferred loading

Customizations

Migration stubs

Custom stubs omit the down() method. Remove the custom stubs to restore Laravel’s default migration templates.

Helpers

Add app-wide helpers in app/Helpers.php:

if (! function_exists('example')) {
    function example(): string
    {
        return 'Your helper function here.';
    }
}

This project is based on CodeWithDennis/larament. We have made some changes to the original project to make it more suitable for our needs.