All posts

FilamentPHP

Larament: a bloat-free Laravel + Filament starter kit that actually saves setup time

Larament is the Laravel and FilamentPHP starter kit I wanted: quality tooling already configured, defaults that actually make sense, and a Filament panel that is ready to go without touching a thing.

3 min read CodeWithDennis
FilamentPHP Laravel Starter kit

Every time I started a new Laravel project, I ended up doing the same setup again. Install Laravel. Add FilamentPHP. Pull in PHPStan, Pint, Rector, and Pest. Set up a Filament theme. Tweak a few Laravel defaults. Do the usual cleanup. Only then could I actually start building something.

After doing that enough times, it got pretty annoying. So I made my own starter kit.

Larament is a bloat-free starter kit for Laravel 13.x with FilamentPHP 5.x already set up. It is basically the setup I keep wanting at the start of a project, without a bunch of stuff I would rip out again anyway.

Tooling that is already there

It comes with the tools I would normally install straight away anyway: Larastan for static analysis, Pint for formatting, Rector for refactoring, Pest 4 for testing, and Laravel Debugbar for development. There is also a composer review command that runs Pint, Rector, PHPStan, and Pest in one go, which is just nice to have.

Better Laravel defaults

Larament also includes nunomaduro/essentials, so you get stricter defaults out of the box like strict models, auto-eager loading, and immutable dates. Small stuff, but it saves time and makes a fresh project feel a bit less bare.

A Filament panel that already feels usable

On the Filament side, the panel is already set up in a way I actually like using. SPA mode is enabled, there is a custom login page with autofilled credentials in local development, profile management is enabled, MFA via app authentication is enabled, and a custom theme is already there. Tables also come with striped rows and deferred loading by default.

That was one of the main things I wanted: a panel that does not feel half-finished the moment it boots up.

Not just an empty test folder

It also comes with a proper Pest 4 test suite, including browser tests. So instead of starting with an empty test folder, you already have working examples to build on. I think that is especially useful if you are still trying to get better at testing in Laravel.

CI is already set up too

Larament includes GitHub Actions workflows for Tests, PHPStan, and Pint, including parallelized test shards. So you do not have to spend time setting that up either.

Small things I like having in place

There are also a few smaller opinionated things in there that match how I usually work: custom migration stubs that remove down() by default, a dedicated app/Helpers.php file for project helpers, and terminal aliases for quicker bootstrapping.

None of that is groundbreaking, but together it makes the project feel ready a lot faster.

The pitch

That is really all Larament is. It is not trying to do everything. It is just a clean Laravel + Filament starting point with the tools and defaults I usually want, without the usual setup loop first.

Installation

If you want to try it, the install is straightforward:

composer create-project codewithdennis/larament your-project-name

That gives you a Laravel 13 + Filament 5 project with the core tooling and defaults already in place.

Larament on GitHub

By using this site you accept our use of cookies (essential and analytics, e.g. Google Analytics).