Skip to content

Commit 85d2835

Browse files
committed
Added PSR-4 entry
The PSR-4 entry is now in the package composer.json file, so the user does not need to add this to their applications composer.json file
1 parent b586388 commit 85d2835

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,17 @@ then only have to do this once, or until a new session is started.
1111

1212
1. Add ClientTimezone to your composer.json file under `require`:
1313

14-
`"kevinorriss\clienttimezone": "1.1.*"`
14+
`"kevinorriss\clienttimezone": "1.2.*"`
1515

16-
2. Add a PSR-4 entry to your composer.json file under `autoload/psr-4`:
17-
18-
`"KevinOrriss\\ClientTimezone\\": "vendor/kevinorriss/clienttimezone/src/"`
19-
20-
3. Add the ClientTimezoneServiceProvider to your app.php file:
16+
2. Add the ClientTimezoneServiceProvider to your app.php file:
2117

2218
`KevinOrriss\ClientTimezone\ClientTimezoneServiceProvider::class,`
2319

24-
4. Add the ClientTimezone alias to your app.php file:
20+
3. Add the ClientTimezone alias to your app.php file:
2521

2622
`'ClientTimezone' => KevinOrriss\ClientTimezone\ClientTimezone::class,`
2723

28-
5. Run `composer update`
24+
4. Run `composer update`
2925

3026
## Usage
3127

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,10 @@
1616
"minimum-stability": "stable",
1717
"require": {
1818
"php": ">=5.3.0"
19+
},
20+
"autoload": {
21+
"psr-4": {
22+
"KevinOrriss\\ClientTimezone\\": "src"
23+
}
1924
}
2025
}

0 commit comments

Comments
 (0)