Kickstart your project and save time with Larament! This time-saving starter kit includes a Laravel project with FilamentPHP already installed and set up, along with extra features.
Note
This starter kit includes Laravel 11 and FilamentPHP 3 with some packages that improve the development experience. This will not contain any bloated features or unnecessary packages. If you want to add more features, you can do so by installing the necessary packages.
- The Filament Panel's primary color is set to blue.
- Single Page Application (SPA) mode is enabled by default, providing faster and smoother user experiences.
- A custom login page auto-fills email and password with seeded data, removing the need for manual typing in local testing.
- Global search keybinding is preset to
CTRL + K
orCMD + K
(for macOS) for quick access to search functionality. - A PEST test case for the
UserResource
ensures all functionalities are tested effectively. - The global user search includes email addresses in the search results for better user discovery.
- A custom password generator action is available on the user profile and user resource pages.
- A custom profile page utilizes the password generation feature for streamlined user management.
- A ready-to-use custom theme includes a sidebar separator for better UI organization.
- All component labels are automatically translatable, so there’s no need to add
->translateLabel()
to individual components.
You can create your own helper functions for Laravel apps and PHP packages, and Composer will import them automatically. I've already set this up for you, and you can find the file at app\Helpers.php
.
This package allows you to run one-time operations in your Laravel application. Instead of adding a new migration for a simple task, you can use this package to run the operation only once. New one time operations will be added in the database/operations
directory.
This package provides a developer toolbar for debugging Laravel applications. It includes a lot of helpful information like queries, routes, views, and more.
This package is only installed in the development environment.
Pest is a testing framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.
This package is only installed in the development environment.
PHPStan scans your whole codebase and looks for both obvious & tricky bugs. Even in those rarely executed if statements that certainly aren't covered by tests.
This package is only installed in the development environment.
Use this template to create a new repository and clone it to your local machine, then navigate to the project directory to run the necessary commands.
composer install
npm install && npm run build
cp .env.example .env
php artisan key:generate
Since Laravel 11 the default database is SQLite, if you want to use another database, update the .env
file with your database preferences before running the migrations.
php artisan migrate --seed
composer create-project --prefer-dist CodeWithDennis/larament example-app
The following files are part of the "branding" and can be removed.
- resources/images/larament.png
- resources/images/user-global-search.jpg