Skip to content

Commit b25daf3

Browse files
committed
group tips
1 parent 63bcd1e commit b25daf3

15 files changed

+28
-28
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ Daily Laravel/PHP tips I share on my [X](https://x.com/OussamaMater) and [Linked
44

55
Currently, there are over 300 tips categorized as follows:
66

7-
- [Eloquent & Database Tips](./eloquent-and-database.md) (85 tips)
8-
- [Helper Tips](./helpers.md) (60 tips)
9-
- [Testing Tips](./testing.md) (24 tips)
10-
- [Artisan & Console Command Tips](./console.md) (23 tips)
11-
- [Routing & Request Tips](./routing.md) (21 tips)
12-
- [Laravel Collections Tips](./collections.md) (17 tips)
13-
- [Validation Tips](./validation.md) (17 tips)
14-
- [API & HTTP Client Tips](./api-and-http-client.md) (11 tips)
15-
- [Random Cool Tips](./others.md) (11 tips)
16-
- [View Tips](./views.md) (10 tips)
17-
- [Queues & Job Tips](./queues-and-jobs.md) (8 tips)
18-
- [Authentication & Authorization Tips](./auth.md) (6 tips)
19-
- [Laravel Container Tips](./container.md) (5 tips)
20-
- [Error Handling Tips](./error-handling.md) (4 tips)
7+
- [Eloquent & Database Tips](./tips/eloquent-and-database.md) (85 tips)
8+
- [Helper Tips](./tips/helpers.md) (60 tips)
9+
- [Testing Tips](./tips/testing.md) (24 tips)
10+
- [Artisan & Console Command Tips](./tips/console.md) (23 tips)
11+
- [Routing & Request Tips](./tips/routing.md) (21 tips)
12+
- [Laravel Collections Tips](./tips/collections.md) (17 tips)
13+
- [Validation Tips](./tips/validation.md) (17 tips)
14+
- [API & HTTP Client Tips](./tips/api-and-http-client.md) (11 tips)
15+
- [Random Cool Tips](./tips/others.md) (11 tips)
16+
- [View Tips](./tips/views.md) (10 tips)
17+
- [Queues & Job Tips](./tips/queues-and-jobs.md) (8 tips)
18+
- [Authentication & Authorization Tips](./tips/auth.md) (6 tips)
19+
- [Laravel Container Tips](./tips/container.md) (5 tips)
20+
- [Error Handling Tips](./tips/error-handling.md) (4 tips)
2121

2222
If you have new tips or suggestions for improving existing ones, feel free to drop a PR!

api-and-http-client.md renamed to tips/api-and-http-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# API & The HTTP Client Tips ([cd ..](./README.md))
1+
# API & The HTTP Client Tips ([cd ..](../README.md))
22

33
- [The "withToken()" method](#laravel-tip--the-withtoken-method-️)
44
- [Extend the "PersonalAccessToken" model](#laravel-tip--extend-the-personalaccesstoken-model-️)

auth.md renamed to tips/auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Authentication & Authorization Tips ([cd ..](./README.md))
1+
# Authentication & Authorization Tips ([cd ..](../README.md))
22

33
- [Hook into Authentication Events](#laravel-tip--hook-into-authentication-events-️)
44
- [Deny As Not Found](#laravel-tip--deny-as-not-found-️)

collections.md renamed to tips/collections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Laravel Collections Tips ([cd ..](./README.md))
1+
# Laravel Collections Tips ([cd ..](../README.md))
22

33
- [The "containsOneItem" Method](#laravel-tip--the-containsoneitem-method-️)
44
- [The "dot" and "undot" Methods](#laravel-tip--the-dot-and-undot-methods-️)

console.md renamed to tips/console.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Artisan & Console Commands Tips ([cd ..](./README.md))
1+
# Artisan & Console Commands Tips ([cd ..](../README.md))
22

33
- [Much Cooler Command Output](#laravel-tip--much-cooler-command-output-️)
44
- [Laravel 💡: The Scheduler's "skip" Method](#laravel--the-schedulers-skip-method)

container.md renamed to tips/container.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Container Tips ([cd ..](./README.md))
1+
# Container Tips ([cd ..](../README.md))
22

33
- [Use rebinding events to refresh dependencies](#laravel-tip--use-rebinding-events-to-refresh-dependencies-️)
44
- [Bind Typed Variadics](#laravel-tip--bind-typed-variadics-️)

eloquent-and-database.md renamed to tips/eloquent-and-database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Eloquent & Database Tips ([cd ..](./README.md))
1+
# Eloquent & Database Tips ([cd ..](../README.md))
22

33
- [Get Original Attributes](#laravel-tip--get-original-attributes-️)
44
- [Specify Custom Factories Path](#laravel-tip--specify-custom-factories-path-️)

error-handling.md renamed to tips/error-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Error Handling Tips ([cd ..](./README.md))
1+
# Error Handling Tips ([cd ..](../README.md))
22

33
- [Mapping Exceptions via Handler](#laravel-tip--mapping-exceptions-via-handler-️)
44
- [Mapping Exception via Custom Exception Classes](#laravel-tip--mapping-exception-via-custom-exception-classes-️)

helpers.md renamed to tips/helpers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Helpers Tips ([cd ..](./README.md))
1+
# Helpers Tips ([cd ..](../README.md))
22

33
- [The "squish" method](#laravel-tip--the-squish-method-️)
44
- [The "json" method](#laravel-tip--the-json-method-️)

others.md renamed to tips/others.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Other Useful Tips ([cd ..](./README.md))
1+
# Other Useful Tips ([cd ..](../README.md))
22

33
- [isset()](#laravel-tip--isset-️)
44
- [Preview Mailables](#laravel-tip--preview-mailables-️)

queues-and-jobs.md renamed to tips/queues-and-jobs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Queues & Jobs Tips ([cd ..](./README.md))
1+
# Queues & Jobs Tips ([cd ..](../README.md))
22

33
- [Dispatch After Response](#laravel-tip--dispatch-after-response-️)
44
- [Delete a Job When Models Are Missing](#laravel-tip--delete-a-job-when-models-are-missing-️)

routing.md renamed to tips/routing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Routing & Requests Tips ([cd ..](./README.md))
1+
# Routing & Requests Tips ([cd ..](../README.md))
22

33
- [Model Binding in Form Requests](#laravel-tip--model-binding-in-form-requests-️)
44
- [Route Absolute and Relative Path](#laravel-tip--route-absolute-and-relative-path-️)

testing.md renamed to tips/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Testing Tips ([cd ..](./README.md))
1+
# Testing Tips ([cd ..](../README.md))
22

33
- [Prevent Stray Requests](#laravel-tip--prevent-stray-requests-️)
44
- [Faker Formatters](#laravel-tip--faker-formatters-️)

validation.md renamed to tips/validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Validation Tips ([cd ..](./README.md))
1+
# Validation Tips ([cd ..](../README.md))
22

33
- [Inline Validation](#laravel-tip--inline-validation-️)
44
- [Validate Nested Arrays Easily](#laravel-tip--validate-nested-arrays-easily-️)

views.md renamed to tips/views.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Views & Blade Tips ([cd ..](./README.md))
1+
# Views & Blade Tips ([cd ..](../README.md))
22

33
- [Type Hinting for Blade](#laravel-tip--type-hinting-for-blade-️)
44
- [The "checked" Blade Directive](#laravel-tip--the-checked-blade-directive-️)

0 commit comments

Comments
 (0)