Skip to content

Commit f1ba578

Browse files
Merge pull request #55 from CodeWithDennis/CodeWithDennis-patch-1
Update README.md
2 parents 41ec9ee + e78aaa9 commit f1ba578

File tree

1 file changed

+61
-40
lines changed

1 file changed

+61
-40
lines changed

README.md

Lines changed: 61 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -6,67 +6,88 @@
66
[![Total Installs](https://img.shields.io/packagist/dt/codewithdennis/larament.svg?style=flat-square)](https://packagist.org/packages/codewithdennis/larament)
77
[![Latest Version on Packagist](https://img.shields.io/packagist/v/codewithdennis/larament.svg?style=flat-square)](https://packagist.org/packages/codewithdennis/larament)
88

9-
![larament](https://raw.githubusercontent.com/CodeWithDennis/larament/main/resources/images/larament.png)
9+
![Larament](https://raw.githubusercontent.com/CodeWithDennis/larament/main/resources/images/larament.png)
1010

11-
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.
11+
**Larament** is a time-saving starter kit to quickly launch Laravel projects. It includes **FilamentPHP** pre-installed and configured, along with additional tools and features to streamline your development workflow.
1212

13-
> [!NOTE]
14-
> 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.
13+
---
1514

16-
## Configuration
15+
## Table of Contents
16+
17+
- [Features](#features)
18+
- [Security and Testing](#security-and-testing)
19+
- [Quality of Life](#quality-of-life)
20+
- [Design](#design)
21+
- [Default User](#default-user)
22+
- [Included Packages](#included-packages)
23+
- [Installation](#installation)
24+
- [CLI Installation](#cli-installation)
25+
26+
---
27+
28+
## Features
1729

1830
### Security and Testing
19-
![pest-php](https://raw.githubusercontent.com/CodeWithDennis/larament/main/resources/images/pest-php.png)
20-
- A handfull of [PESTPHP](https://pestphp.com/docs/installation) test cases are included for testing.
21-
- [Should be strict](https://laravel-news.com/shouldbestrict)
22-
- Prevents lazy loading (N+1) queries.
23-
- It prevents silently discarding attributes.
24-
- It prevents accessing missing attributes.
25-
- [Prevent destructive commands from running in production](https://laravel-news.com/prevent-destructive-commands-from-running-in-laravel-11)
26-
- Archtest is included for architectural testing.
27-
- PHPStan is included for static analysis.
28-
- Laravel debugbar is included for debugging.
31+
![PESTPHP](https://raw.githubusercontent.com/CodeWithDennis/larament/main/resources/images/pest-php.png)
32+
33+
- **PESTPHP**: Preconfigured with test cases for streamlined testing. ([Learn more](https://pestphp.com/docs/installation))
34+
- **Strict mode enabled** via [Should Be Strict](https://laravel-news.com/shouldbestrict):
35+
- Prevents lazy loading (N+1 queries).
36+
- Guards against discarding or accessing missing attributes.
37+
- **Production safeguards**: Prevents destructive commands in production. ([Learn more](https://laravel-news.com/prevent-destructive-commands-from-running-in-laravel-11))
38+
- **Architectural testing** with Archtest.
39+
- **Static analysis** using PHPStan.
40+
- **Debugging** with Laravel Debugbar.
2941

3042
### Quality of Life
31-
![global-search-keybinding](https://raw.githubusercontent.com/CodeWithDennis/larament/main/resources/images/global-search-keybinding.jpg)
32-
- A custom login page autofills email and password with seeded data, streamlining local testing.
33-
- A custom password generator action is available on the user profile and user resource pages.
34-
- Global user search includes email addresses in results for better user discovery.
35-
- All component labels are automatically translatable.
36-
- A `composer review` command that runs PINT, PHPStan, and PEST.
37-
- Helper file is included for custom helper functions.
38-
- A custom `php artisan make:filament-action` command is available for creating actions.
43+
![Global Search Keybinding](https://raw.githubusercontent.com/CodeWithDennis/larament/main/resources/images/global-search-keybinding.jpg)
44+
45+
- Custom login page autofills email and password with seeded data for quicker testing.
46+
- Built-in password generator action on the user profile and user resource pages.
47+
- Enhanced global search includes email addresses for better discoverability.
48+
- Auto-translatable component labels.
49+
- `composer review`: A single command to run Pint, PHPStan, and PEST.
50+
- Helper functions available through a dedicated helper file.
51+
- Custom `php artisan make:filament-action` command for generating Filament actions.
3952

4053
### Design
41-
![user-global-search](https://raw.githubusercontent.com/CodeWithDennis/larament/main/resources/images/user-global-search.jpg)
42-
- The Filament Panel's primary color is set to blue.
43-
- Single Page Application (SPA) mode is enabled by default.
44-
- Global search keybinding is preset to `CTRL + K` or `CMD + K`.
45-
- A ready-to-use FilamentPHP [custom theme](https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme) that also includes a sidebar separator.
46-
- A custom profile that includes the password generator action.
54+
![User Global Search](https://raw.githubusercontent.com/CodeWithDennis/larament/main/resources/images/user-global-search.jpg)
55+
56+
- Filament Panel's primary color is preset to blue.
57+
- Single Page Application (SPA) mode enabled by default.
58+
- Global search keybinding set to `CTRL + K` or `CMD + K`.
59+
- A ready-to-use FilamentPHP custom theme, including a sidebar separator.
60+
- Enhanced profile page with a built-in password generator.
61+
62+
---
4763

4864
## Default User
49-
The default user is seeded with the following credentials which is autofilled on the login page.
65+
66+
A default user is seeded with the following credentials, pre-filled on the login page for quick access:
5067

5168
```dotenv
69+
DEFAULT_USER_NAME="John Doe"
5270
DEFAULT_USER_EMAIL="admin@example.com"
5371
DEFAULT_USER_PASSWORD="password"
5472
```
5573

56-
## Packages
74+
## Included Packages
75+
76+
The following packages are pre-installed:
5777

5878
- [timokoerber/laravel-one-time-operations](https://github.com/TimoKoerber/laravel-one-time-operations)
5979
- [barryvdh/laravel-debugbar](https://github.com/barryvdh/laravel-debugbar)
6080
- [phpstan/phpstan](https://phpstan.org/user-guide/getting-started)
6181
- [pestphp/pest](https://pestphp.com/docs/installation)
62-
- [pestphp/pest-plugin-faker](https://pestphp.com/docs/plugins#faker)
82+
- [pestphp/pest-plugin-faker](https://pestphp.com/docs/plugins#faker)
6383
- [pestphp/pest-plugin-laravel](https://pestphp.com/docs/plugins#laravel)
6484
- [pestphp/pest-plugin-livewire](https://pestphp.com/docs/plugins#livewire)
6585

6686
## Installation
67-
68-
**[Use this template](https://github.com/new?template_name=larament&template_owner=CodeWithDennis)** to create a new repository and clone it to your local machine, then navigate to the project directory to run the necessary commands.
69-
87+
### Using the Template
88+
- Create a repository using the Larament template.
89+
- Clone your repository to your local machine.
90+
Navigate to the project directory and run the following commands:
7091
```bash
7192
composer install
7293
npm install && npm run build
@@ -76,21 +97,21 @@ php artisan migrate
7697
php artisan db:seed
7798
```
7899

79-
### CLI Installation
80-
81-
You can also use the following command to create a new project with Larament.
100+
## CLI Installation
101+
Alternatively, you can use the following command to create a new project with Larament:
82102

83103
```bash
84104
composer create-project --prefer-dist CodeWithDennis/larament example-app
85105
```
86106

87-
If you don't want to remember the composer installation syntax for future projects, you can create an alias for your terminal:
107+
### Create a Terminal Alias
108+
For easier usage in future projects, create an alias in your terminal:
88109

89110
```bash
90111
alias larament="composer create-project --prefer-dist CodeWithDennis/larament"
91112
```
92113

93-
This allows you to simply use `larament my-cool-app` in your terminal.
114+
Now, you can create a new project with a simple command:
94115

95116
```bash
96117
larament my-cool-app

0 commit comments

Comments
 (0)