Skip to content

Commit

Permalink
group tips
Browse files Browse the repository at this point in the history
  • Loading branch information
OussamaMater committed Jan 19, 2025
1 parent 63bcd1e commit b25daf3
Show file tree
Hide file tree
Showing 15 changed files with 28 additions and 28 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ Daily Laravel/PHP tips I share on my [X](https://x.com/OussamaMater) and [Linked

Currently, there are over 300 tips categorized as follows:

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

If you have new tips or suggestions for improving existing ones, feel free to drop a PR!
2 changes: 1 addition & 1 deletion api-and-http-client.md → tips/api-and-http-client.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# API & The HTTP Client Tips ([cd ..](./README.md))
# API & The HTTP Client Tips ([cd ..](../README.md))

- [The "withToken()" method](#laravel-tip--the-withtoken-method-️)
- [Extend the "PersonalAccessToken" model](#laravel-tip--extend-the-personalaccesstoken-model-️)
Expand Down
2 changes: 1 addition & 1 deletion auth.md → tips/auth.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Authentication & Authorization Tips ([cd ..](./README.md))
# Authentication & Authorization Tips ([cd ..](../README.md))

- [Hook into Authentication Events](#laravel-tip--hook-into-authentication-events-️)
- [Deny As Not Found](#laravel-tip--deny-as-not-found-️)
Expand Down
2 changes: 1 addition & 1 deletion collections.md → tips/collections.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Laravel Collections Tips ([cd ..](./README.md))
# Laravel Collections Tips ([cd ..](../README.md))

- [The "containsOneItem" Method](#laravel-tip--the-containsoneitem-method-️)
- [The "dot" and "undot" Methods](#laravel-tip--the-dot-and-undot-methods-️)
Expand Down
2 changes: 1 addition & 1 deletion console.md → tips/console.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Artisan & Console Commands Tips ([cd ..](./README.md))
# Artisan & Console Commands Tips ([cd ..](../README.md))

- [Much Cooler Command Output](#laravel-tip--much-cooler-command-output-️)
- [Laravel 💡: The Scheduler's "skip" Method](#laravel--the-schedulers-skip-method)
Expand Down
2 changes: 1 addition & 1 deletion container.md → tips/container.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Container Tips ([cd ..](./README.md))
# Container Tips ([cd ..](../README.md))

- [Use rebinding events to refresh dependencies](#laravel-tip--use-rebinding-events-to-refresh-dependencies-️)
- [Bind Typed Variadics](#laravel-tip--bind-typed-variadics-️)
Expand Down
2 changes: 1 addition & 1 deletion eloquent-and-database.md → tips/eloquent-and-database.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Eloquent & Database Tips ([cd ..](./README.md))
# Eloquent & Database Tips ([cd ..](../README.md))

- [Get Original Attributes](#laravel-tip--get-original-attributes-️)
- [Specify Custom Factories Path](#laravel-tip--specify-custom-factories-path-️)
Expand Down
2 changes: 1 addition & 1 deletion error-handling.md → tips/error-handling.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Error Handling Tips ([cd ..](./README.md))
# Error Handling Tips ([cd ..](../README.md))

- [Mapping Exceptions via Handler](#laravel-tip--mapping-exceptions-via-handler-️)
- [Mapping Exception via Custom Exception Classes](#laravel-tip--mapping-exception-via-custom-exception-classes-️)
Expand Down
2 changes: 1 addition & 1 deletion helpers.md → tips/helpers.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Helpers Tips ([cd ..](./README.md))
# Helpers Tips ([cd ..](../README.md))

- [The "squish" method](#laravel-tip--the-squish-method-️)
- [The "json" method](#laravel-tip--the-json-method-️)
Expand Down
2 changes: 1 addition & 1 deletion others.md → tips/others.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Other Useful Tips ([cd ..](./README.md))
# Other Useful Tips ([cd ..](../README.md))

- [isset()](#laravel-tip--isset-️)
- [Preview Mailables](#laravel-tip--preview-mailables-️)
Expand Down
2 changes: 1 addition & 1 deletion queues-and-jobs.md → tips/queues-and-jobs.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Queues & Jobs Tips ([cd ..](./README.md))
# Queues & Jobs Tips ([cd ..](../README.md))

- [Dispatch After Response](#laravel-tip--dispatch-after-response-️)
- [Delete a Job When Models Are Missing](#laravel-tip--delete-a-job-when-models-are-missing-️)
Expand Down
2 changes: 1 addition & 1 deletion routing.md → tips/routing.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Routing & Requests Tips ([cd ..](./README.md))
# Routing & Requests Tips ([cd ..](../README.md))

- [Model Binding in Form Requests](#laravel-tip--model-binding-in-form-requests-️)
- [Route Absolute and Relative Path](#laravel-tip--route-absolute-and-relative-path-️)
Expand Down
2 changes: 1 addition & 1 deletion testing.md → tips/testing.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Testing Tips ([cd ..](./README.md))
# Testing Tips ([cd ..](../README.md))

- [Prevent Stray Requests](#laravel-tip--prevent-stray-requests-️)
- [Faker Formatters](#laravel-tip--faker-formatters-️)
Expand Down
2 changes: 1 addition & 1 deletion validation.md → tips/validation.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Validation Tips ([cd ..](./README.md))
# Validation Tips ([cd ..](../README.md))

- [Inline Validation](#laravel-tip--inline-validation-️)
- [Validate Nested Arrays Easily](#laravel-tip--validate-nested-arrays-easily-️)
Expand Down
2 changes: 1 addition & 1 deletion views.md → tips/views.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Views & Blade Tips ([cd ..](./README.md))
# Views & Blade Tips ([cd ..](../README.md))

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

0 comments on commit b25daf3

Please sign in to comment.