Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

avn-dev/admin-api-nordhilfe

Repository files navigation

PintPESTPHPStanTotal InstallsLatest Version on Packagist

Larament

Larament is a time-saving starter kit to quickly launch Laravel projects. It includesFilamentPHP pre-installed and configured, along with additional tools and features to streamline your development workflow.


Table of Contents


Features

Security and Testing

  • PESTPHP: Preconfigured with test cases for streamlined testing. (Learn more)
  • Strict mode enabled viaShould 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.
  • Customphp artisan make:filament-action command for generating Filament actions.

Design

User Global Search

  • Filament Panel's primary color is preset to blue.
  • Single Page Application (SPA) mode enabled by default.
  • Global search keybinding set toCTRL + K orCMD + 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"

Included Packages

The following packages are pre-installed:

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 installnpm install&& npm run buildcp .env.example .envphp artisan key:generatephp artisan migratephp artisan db:seed

CLI Installation

Alternatively, you can use the following command to create a new project with Larament:

composer create-project --prefer-dist CodeWithDennis/larament example-app

Create a Terminal Alias

For easier usage in future projects, create an alias in your terminal:

alias larament="composer create-project --prefer-dist CodeWithDennis/larament"

Now, you can create a new project with a simple command:

larament my-cool-app

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors6


[8]ページ先頭

©2009-2025 Movatter.jp