Skip to content

Commit 1fbebd2

Browse files
committed
Merge branch 'main' into pr/519
2 parents 89649fd + 46c4047 commit 1fbebd2

File tree

4 files changed

+38
-20
lines changed

4 files changed

+38
-20
lines changed

.github/workflows/run-tests.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,37 @@
11
name: run-tests
22

3-
on: [push, pull_request]
3+
on:
4+
- push
5+
- pull_request
46

57
concurrency: ci-${{ github.ref }}
68

79
jobs:
810
test:
911
runs-on: ${{ matrix.os }}
12+
1013
strategy:
1114
fail-fast: true
1215
matrix:
1316
os: [ubuntu-20.04]
14-
php: [8.3, 8.2, 8.1]
15-
laravel: [10.*]
17+
php: [8.4, 8.3, 8.2, 8.1]
18+
laravel: ['10.*', '11.*', '12.*']
1619
ffmpeg: [5.0, 4.4]
1720
dependency-version: [prefer-lowest, prefer-stable]
1821
include:
1922
- laravel: 10.*
2023
testbench: 8.*
24+
- laravel: 11.*
25+
testbench: 9.*
26+
- laravel: 12.*
27+
testbench: 10.*
28+
exclude:
29+
- laravel: 11.*
30+
php: 8.1
31+
- laravel: 10.*
32+
php: 8.4
33+
- laravel: 12.*
34+
php: 8.1
2135

2236
name: ${{ matrix.os }} - P${{ matrix.php }} - L${{ matrix.laravel }} - FF${{ matrix.ffmpeg }} - ${{ matrix.dependency-version }}
2337

@@ -35,7 +49,6 @@ jobs:
3549
- name: Install FFmpeg
3650
uses: Iamshankhadeep/[email protected]
3751
with:
38-
token: ${{ secrets.CI_GITHUB_TOKEN }}
3952
version: ${{ matrix.ffmpeg }}
4053
id: setup-ffmpeg
4154

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@
77

88
This package provides an integration with FFmpeg for Laravel 10. [Laravel's Filesystem](http://laravel.com/docs/9.x/filesystem) handles the storage of the files.
99

10-
## Sponsor this package!
1110

12-
❤️ We proudly support the community by developing Laravel packages and giving them away for free. If this package saves you time or if you're relying on it professionally, please consider [sponsoring the maintenance and development](https://github.com/sponsors/pascalbaljet). Keeping track of issues and pull requests takes time, but we're happy to help!
11+
## Sponsor Us
1312

14-
## Laravel Splade
13+
[<img src="https://inertiaui.com/visit-card.jpg" />](https://inertiaui.com/inertia-table?utm_source=github&utm_campaign=laravel-ffmpeg)
1514

16-
**Did you hear about Laravel Splade? 🤩**
15+
❤️ We proudly support the community by developing Laravel packages and giving them away for free. If this package saves you time or if you're relying on it professionally, please consider [sponsoring the maintenance and development](https://github.com/sponsors/pascalbaljet) and check out our latest premium package: [Inertia Table](https://inertiaui.com/inertia-table?utm_source=github&utm_campaign=laravel-ffmpeg). Keeping track of issues and pull requests takes time, but we're happy to help!
1716

18-
It's the *magic* of Inertia.js with the *simplicity* of Blade. [Splade](https://github.com/protonemedia/laravel-splade) provides a super easy way to build Single Page Applications using Blade templates. Besides that magic SPA-feeling, it comes with more than ten components to sparkle your app and make it interactive, all without ever leaving Blade.
1917

2018
## Features
2119
* Super easy wrapper around [PHP-FFMpeg](https://github.com/PHP-FFMpeg/PHP-FFMpeg), including support for filters and other advanced features.
@@ -910,16 +908,16 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
910908

911909
## Other Laravel packages
912910

913-
* [`Laravel Analytics Event Tracking`](https://github.com/protonemedia/laravel-analytics-event-tracking): Laravel package to easily send events to Google Analytics.
911+
* [`Inertia Table`](https://inertiaui.com/inertia-table?utm_source=github&utm_campaign=laravel-ffmpeg): The Ultimate Table for Inertia.js with built-in Query Builder.
914912
* [`Laravel Blade On Demand`](https://github.com/protonemedia/laravel-blade-on-demand): Laravel package to compile Blade templates in memory.
915913
* [`Laravel Cross Eloquent Search`](https://github.com/protonemedia/laravel-cross-eloquent-search): Laravel package to search through multiple Eloquent models.
916914
* [`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.
917-
* [`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.
918-
* [`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!
915+
* [`Laravel MinIO Testing Tools`](https://github.com/protonemedia/laravel-minio-testing-tools): Run your tests against a MinIO S3 server.
919916
* [`Laravel Mixins`](https://github.com/protonemedia/laravel-mixins): A collection of Laravel goodies.
920917
* [`Laravel Paddle`](https://github.com/protonemedia/laravel-paddle): Paddle.com API integration for Laravel with support for webhooks/events.
918+
* [`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.
921919
* [`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.
922-
* [`Laravel WebDAV`](https://github.com/protonemedia/laravel-webdav): WebDAV driver for Laravel's Filesystem.
920+
* [`Laravel XSS Protection`](https://github.com/protonemedia/laravel-xss-protection): Laravel Middleware to protect your app against Cross-site scripting (XSS). It sanitizes request input, and it can sanatize Blade echo statements.
923921

924922
## Security
925923

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@
2020
}
2121
],
2222
"require": {
23-
"php": "^8.1|^8.2|^8.3",
24-
"illuminate/contracts": "^10.0",
23+
"php": "^8.1|^8.2|^8.3|^8.4",
24+
"illuminate/contracts": "^10.0|^11.0|^12.0",
2525
"php-ffmpeg/php-ffmpeg": "^1.2",
2626
"ramsey/collection": "^2.0"
2727
},
2828
"require-dev": {
2929
"league/flysystem-memory": "^3.10",
3030
"mockery/mockery": "^1.4.4",
31-
"nesbot/carbon": "^2.66",
32-
"orchestra/testbench": "^8.0",
33-
"phpunit/phpunit": "^10.4",
34-
"spatie/image": "^2.2",
31+
"nesbot/carbon": "^2.66|^3.0",
32+
"orchestra/testbench": "^8.0|^9.0|^10.0",
33+
"phpunit/phpunit": "^10.4|^11.5.3",
34+
"spatie/image": "^2.2|^3.3",
3535
"spatie/phpunit-snapshot-assertions": "^5.0"
3636
},
3737
"autoload": {
@@ -63,4 +63,4 @@
6363
}
6464
}
6565
}
66-
}
66+
}

src/Http/DynamicHLSPlaylist.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ class DynamicHLSPlaylist implements Responsable
3535
*/
3636
private $mediaResolver;
3737

38+
/**
39+
* Callable to retrieve the path to the given playlist.
40+
*
41+
* @var callable
42+
*/
43+
private $playlistResolver;
44+
3845
/**
3946
* @var array
4047
*/

0 commit comments

Comments
 (0)