Skip to content

Commit 0be48b4

Browse files
committed
Typo fixes in README.md
1 parent 9ad5e6f commit 0be48b4

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
@@ -26,7 +26,7 @@ Upon installation, Laravel will automatically register the Service Provider bund
2626

2727
## Configuration
2828

29-
You can configure the message, the regular expression used to match URI patterns (e.g a list of file extensions), and optionally an exclusion regular expression.
29+
You can configure the message, the regular expression used to match URI patterns (e.g. a list of file extensions), and optionally an exclusion regular expression.
3030

3131
### From configuration files
3232

@@ -51,7 +51,7 @@ All configuration values **must** be strings.
5151
|---|---|---|
5252
|`message`|`Not Found`|The message to be shown when this package terminates a request. It might contain HTML. Try to keep the message short.|
5353
|`regex`|[`/\.(?:js\|css\...woff2)$/i`](#file-type-extensions)|A full regular expression to match against the request URI (without base-URI and URL parameters). If matched, this package will attempt to terminate the request. The default value will be used if `null` is passed. Make sure to include expression delimiters and flags if necessary. It is recommended to keep the default value.|
54-
|`exclude_regex`|``|An optional regular expression to match, and if matched, this package will **not** terminate the request even if the `exclude` expression matched positive. This can be used to declare exclusion patterns if your Laravel application generates images on-the-fly, provides dynamic `.js` files, etc.|
54+
|`exclude_regex`|`null`|An optional regular expression to match, and if matched, this package will **not** terminate the request even if the `exclude` expression matched positive. This can be used to declare exclusion patterns if your Laravel application generates images on-the-fly, provides dynamic `.js` files, etc.|
5555

5656
### File type extensions
5757

@@ -101,7 +101,7 @@ class Kernel extends HttpKernel
101101

102102
Make sure to add `\PHPWatch\LaravelFast404\Fast404Middleware::class,` to the top because middlewares are run in the order they are declared.
103103

104-
### Optional step 3: Register a service provider for further custimizations
104+
### Optional step 3: Register a service provider for further customizations
105105

106106
If you would like to configure the middleware to change the message, file extensions, or the exclusion pattern, you will need to register it in the Service Container.
107107

@@ -122,5 +122,5 @@ $this->app->bind(Fast404Middleware::class, static function ($app): Fast404Middle
122122

123123
## Contributions
124124

125-
Contributions are welcome! Please feel free to send a PR or open an issue. Please note that this Laravel pacakge is in the same line as [`phpwatch/fast404`](https://github.com/PHPWatch/fast404) and [`phpwatch/wordpress-fast404`](https://github.com/PHPWatch/WordPress-Fast404) packages, and the extensions list updates will be made to all packages in a framework-agnostic way.
125+
Contributions are welcome! Please feel free to send a PR or open an issue. Please note that this Laravel package is in the same line as [`phpwatch/fast404`](https://github.com/PHPWatch/fast404) and [`phpwatch/wordpress-fast404`](https://github.com/PHPWatch/WordPress-Fast404) packages, and the extensions list updates will be made to all packages in a framework-agnostic way.
126126

0 commit comments

Comments
 (0)