You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,11 @@
8
8
9
9
## About this package
10
10
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.
12
12
13
13
## Install
14
14
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`.
16
16
17
17
To enable the package you will need to add its service provider to your app providers configuration in Laravel.
18
18
@@ -30,7 +30,7 @@ Now you can assign the middleware `remember.files` to routes that you want the p
30
30
31
31
## Usage
32
32
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`.
34
34
35
35
```php
36
36
@if( $oldFile = rememberedFile('file'))
@@ -52,4 +52,4 @@ function store(Illuminate\Http\Request $request) {
52
52
53
53
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.
54
54
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