Skip to content

Commit 72d4d83

Browse files
committed
Bump
1 parent be2e5ba commit 72d4d83

File tree

2 files changed

+22
-12
lines changed

2 files changed

+22
-12
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,14 @@ jobs:
1616
fail-fast: true
1717
matrix:
1818
os: [ubuntu-latest]
19-
php: [8.3, 8.2, 8.1]
20-
laravel: ['10.*', '11.*']
19+
php: [8.3, 8.2]
20+
laravel: ["10.*", "11.*"]
2121
stability: [prefer-lowest, prefer-stable]
2222
include:
2323
- laravel: 10.*
2424
testbench: ^8.0
2525
- laravel: 11.*
2626
testbench: ^9.0
27-
exclude:
28-
- laravel: 11.*
29-
php: 8.1
3027

3128
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
3229

README.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
Laravel Middleware to protect your app against Cross-site scripting (XSS). It sanitizes request input by utilising the [Laravel Security](https://github.com/GrahamCampbell/Laravel-Security) package, and it can sanatize [Blade echo statements](https://laravel.com/docs/8.x/blade#displaying-data) as well.
88

9-
* PHP 8.1 and higher
10-
* Laravel 10
9+
* PHP 8.2 and higher
10+
* Laravel 10 and higher
1111

1212
## Sponsor this package!
1313

@@ -108,6 +108,21 @@ Event::listen(function (MaliciousInputFound $event) {
108108
});
109109
```
110110

111+
### Additional configuration for `voku/anti-xss`
112+
113+
As of version 1.6.0, you may provide additional configuration for the `voku/anti-xss` package. You may do this by filling the `middleware.anti_xss` key. This is similar to the [Laravel Security](https://github.com/GrahamCampbell/Laravel-Security) package, which this package used to rely on.
114+
115+
```php
116+
'anti_xss' => [
117+
'evil' => [
118+
'attributes' => ['href'],
119+
'tags' => ['video'],
120+
],
121+
122+
'replacement' => '*redacted*',
123+
]
124+
```
125+
111126
## Changelog
112127

113128
Please see [CHANGELOG](CHANGELOG.md) for more information about what has changed recently.
@@ -124,17 +139,15 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
124139

125140
## Other Laravel packages
126141

127-
* [`Laravel Analytics Event Tracking`](https://github.com/protonemedia/laravel-analytics-event-tracking): Laravel package to easily send events to Google Analytics.
128142
* [`Laravel Blade On Demand`](https://github.com/protonemedia/laravel-blade-on-demand): Laravel package to compile Blade templates in memory.
129143
* [`Laravel Cross Eloquent Search`](https://github.com/protonemedia/laravel-cross-eloquent-search): Laravel package to search through multiple Eloquent models.
130144
* [`Laravel Eloquent Scope as Select`](https://github.com/protonemedia/laravel-eloquent-scope-as-select): Stop duplicating your Eloquent query scopes and constraints in PHP. This package lets you re-use your query scopes and constraints by adding them as a subquery.
131-
* [`Laravel Eloquent Where Not`](https://github.com/protonemedia/laravel-eloquent-where-not): This Laravel package allows you to flip/invert an Eloquent scope, or really any query constraint.
132-
* [`Laravel FFMpeg`](https://github.com/protonemedia/laravel-ffmpeg): This package provides integration with FFmpeg for Laravel. The storage of the files is handled by Laravel's Filesystem.
133-
* [`Laravel Form Components`](https://github.com/protonemedia/laravel-form-components): Blade components to rapidly build forms with Tailwind CSS Custom Forms and Bootstrap 4. Supports validation, model binding, default values, translations, includes default vendor styling and fully customizable!
145+
* [`Laravel FFMpeg`](https://github.com/protonemedia/laravel-ffmpeg): This package provides an integration with FFmpeg for Laravel. The storage of the files is handled by Laravel's Filesystem.
146+
* [`Laravel MinIO Testing Tools`](https://github.com/protonemedia/laravel-minio-testing-tools): Run your tests against a MinIO S3 server.
134147
* [`Laravel Mixins`](https://github.com/protonemedia/laravel-mixins): A collection of Laravel goodies.
135148
* [`Laravel Paddle`](https://github.com/protonemedia/laravel-paddle): Paddle.com API integration for Laravel with support for webhooks/events.
149+
* [`Laravel Task Runner`](https://github.com/protonemedia/laravel-task-runner): Write Shell scripts like Blade Components and run them locally or on a remote server.
136150
* [`Laravel Verify New Email`](https://github.com/protonemedia/laravel-verify-new-email): This package adds support for verifying new email addresses: when a user updates its email address, it won't replace the old one until the new one is verified.
137-
* [`Laravel WebDAV`](https://github.com/protonemedia/laravel-webdav): WebDAV driver for Laravel's Filesystem.
138151

139152
## Security
140153

0 commit comments

Comments
 (0)