Skip to content

Commit aebafa8

Browse files
committed
Fix grammar and typo
1 parent cd56bae commit aebafa8

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

README.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22

33
> This package provides handy utilities for Laravel applications.
44
5-
| branch | status |
5+
| Branch | Status |
66
| :------------- | :------------- |
7-
| main | ![tests](https://github.com/internetguru/laravel-common/actions/workflows/phpunit.yml/badge.svg?branch=main) |
8-
| staging | ![tests](https://github.com/internetguru/laravel-common/actions/workflows/phpunit.yml/badge.svg?branch=staging) |
9-
| dev | ![tests](https://github.com/internetguru/laravel-common/actions/workflows/phpunit.yml/badge.svg?branch=dev) |
10-
7+
| Main | ![tests](https://github.com/internetguru/laravel-common/actions/workflows/phpunit.yml/badge.svg?branch=main) |
8+
| Staging | ![tests](https://github.com/internetguru/laravel-common/actions/workflows/phpunit.yml/badge.svg?branch=staging) |
9+
| Dev | ![tests](https://github.com/internetguru/laravel-common/actions/workflows/phpunit.yml/badge.svg?branch=dev) |
1110

1211
## Installation
1312

@@ -23,7 +22,7 @@ composer require internetguru/laravel-common
2322
2423
Configuration and example usage:
2524

26-
1) Add the following lines to the `config/app.php` file:
25+
1. Add the following lines to the `config/app.php` file:
2726

2827
```php
2928
use Illuminate\Support\Facades\Facade;
@@ -33,7 +32,7 @@ Configuration and example usage:
3332
])->toArray(),
3433
```
3534

36-
2) Use `Helpers` class methods in your application:
35+
2. Use `Helpers` class methods in your application:
3736

3837
```html
3938
<meta name="generator" content="{{ Helpers::getAppInfo() }}"/>
@@ -43,7 +42,7 @@ For all available methods, see the [Helpers](src/Support/Helpers.php) class.
4342

4443
## Translation Service Provider
4544

46-
> Enhanced logging for missing translations and variables.
45+
> Enhanced logging for missing translations and variables.
4746

4847
- **Missing Translation Logging**: Logs warnings when a translation key is missing.
4948
- **Missing Variables Logging**: Logs warnings when variables required in a translation string are not provided.
@@ -53,11 +52,11 @@ For all available methods, see the [Helpers](src/Support/Helpers.php) class.
5352
Add the following lines to the `config/app.php` file to use the `TranslationServiceProvider`:
5453

5554
```php
56-
use Illuminate\Support\ServiceProvider;
55+
use Illuminate\Support\ServiceProvider;
5756

58-
'providers' => ServiceProvider::defaultProviders()->replace([
59-
Illuminate\Translation\TranslationServiceProvider::class => InternetGuru\LaravelCommon\TranslationServiceProvider::class,
60-
])->toArray(),
57+
'providers' => ServiceProvider::defaultProviders()->replace([
58+
Illuminate\Translation\TranslationServiceProvider::class => InternetGuru\LaravelCommon\TranslationServiceProvider::class,
59+
])->toArray(),
6160
```
6261

6362
## Carbon Interval Cast
@@ -88,11 +87,11 @@ class Task extends Model
8887
8988
Key Features:
9089

91-
- **Automatic Path Parsing**: Automatically parses the current URL and generates breadcrumb items based on your routes and translations.
92-
- **Customizable Divider**: Allows customization of the divider symbol between breadcrumb items.
93-
- **Localization Support**: Supports translation of breadcrumb items using Laravel's localization system.
94-
- **Short and Long Labels**: Supports both short and long labels for breadcrumb items.
95-
- **Segment Skipping**: Optionally skip a specified number of URL segments, useful for nested routes or prefixes.
90+
- **Automatic Path Parsing**: Automatically parses the current URL and generates breadcrumb items based on your routes and translations.
91+
- **Customizable Divider**: Allows customization of the divider symbol between breadcrumb items.
92+
- **Localization Support**: Supports translation of breadcrumb items using Laravel's localization system.
93+
- **Short and Long Labels**: Supports both short and long labels for breadcrumb items.
94+
- **Segment Skipping**: Optionally skip a specified number of URL segments, useful for nested routes or prefixes.
9695

9796
Usage:
9897

@@ -101,7 +100,7 @@ Usage:
101100
<x-ig::breadcrumb/>
102101
<!-- You can change the divider symbol by setting the divider attribute -->
103102
<x-ig::breadcrumb divider="|" />
104-
<!-- If you need to skip certain segments of the URL (e.g., an language prefix), use the skipFirst attribute -->
103+
<!-- If you need to skip certain segments of the URL (e.g., a language prefix), use the skipFirst attribute -->
105104
<x-ig::breadcrumb :skipFirst="1" />
106105
```
107106

@@ -146,7 +145,7 @@ Example:
146145

147146
### System Messages
148147

149-
> The `messages` Blade component renders system success messages and errros messages.
148+
> The `messages` Blade component renders system success messages and error messages.
150149

151150
Include the component in your Blade template where you want the system messages to appear:
152151

0 commit comments

Comments
 (0)