Skip to content

Commit 19db1f9

Browse files
hailwoodcarbontwelve
authored andcommitted
📝 Update README.md (#9)
Fixed Spelling on a few things
1 parent 58d8b2d commit 19db1f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88

99
## About this package
1010

11-
This middleware allows the application to capture uploaded files and temporarily store them just-in-case the form validation redirects back otherwise loosing the files before your controler could process them.
11+
This middleware allows the application to capture uploaded files and temporarily store them just-in-case the form validation redirects back otherwise losing the files before your controller could process them.
1212

1313
## Install
1414

15-
Add to your project with compoer via `composer require photogabble/laravel-remember-uploads`.
15+
Add to your project with composer via `composer require photogabble/laravel-remember-uploads`.
1616

1717
To enable the package you will need to add its service provider to your app providers configuration in Laravel.
1818

@@ -30,7 +30,7 @@ Now you can assign the middleware `remember.files` to routes that you want the p
3030

3131
## Usage
3232

33-
To ensure that remembered files remain as such accross page refreshes (due to other validation errors) you need to include a reference by way of using a hidden input field with the name `_rememberedFiles`.
33+
To ensure that remembered files remain as such across page refreshes (due to other validation errors) you need to include a reference by way of using a hidden input field with the name `_rememberedFiles`.
3434

3535
```php
3636
@if( $oldFile = rememberedFile('file'))
@@ -52,4 +52,4 @@ function store(Illuminate\Http\Request $request) {
5252

5353
The `$file` variable will equal an instance of `Symfony\Component\HttpFoundation\File\UploadedFile` if the file has been posted during the current request or remembered.
5454

55-
This example is viewable as a test case within this libaries tests [here](https://github.com/photogabble/laravel-remember-uploads/blob/master/tests/UploadTest.php#L114).
55+
This example is viewable as a test case [within this libaries tests](https://github.com/photogabble/laravel-remember-uploads/blob/master/tests/UploadTest.php#L114).

0 commit comments

Comments
 (0)