From e7cce28841e7a2f513c57d67eff676046f814be2 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 23 Sep 2021 19:51:36 +0200 Subject: [PATCH] wip #4697 @2 --- app/Jobs/ProcessFluidbook.php | 15 +- app/Models/Publication.php | 2 + composer.lock | 787 ++++++++++++++++++++++++---------- 3 files changed, 570 insertions(+), 234 deletions(-) diff --git a/app/Jobs/ProcessFluidbook.php b/app/Jobs/ProcessFluidbook.php index 287231b..ce9ce17 100644 --- a/app/Jobs/ProcessFluidbook.php +++ b/app/Jobs/ProcessFluidbook.php @@ -3,6 +3,7 @@ namespace App\Jobs; use App\Models\Publication; +use Cubist\Util\Zip; use Fluidbook\Tools\Compiler\Compiler; use Spatie\MediaLibrary\MediaCollections\Models\Media; @@ -22,7 +23,19 @@ class ProcessFluidbook extends Compiler $media = $this->pub->getMediaInField($this->pub->getAttributeValue('document'))->first(); $this->addSource($media->getPath()); + /** @var Media $precompiled */ + $precompiled = $this->pub->getMediaInField($this->pub->getAttributeValue('precompiled'))->first()->getPath(); + $stubuid = md5($precompiled . '//' . filemtime($precompiled) . '///' . filesize($precompiled)); + $this->stub = storage_path('fluidbook/stubs/' . $stubuid . '/'); + if (!file_exists($this->stub)) { + Zip::extract($precompiled, $this->stub); + } + $this->out = storage_path('fluidbook/out/'); - $this->stub = resource_path('fluidbook/'); + } + + public function getLinks() + { + return $this->getLinksFromPDF(); } } diff --git a/app/Models/Publication.php b/app/Models/Publication.php index 7722190..5460f67 100644 --- a/app/Models/Publication.php +++ b/app/Models/Publication.php @@ -21,9 +21,11 @@ class Publication extends CubistMagicAbstractModel parent::setFields(); $this->addField('document', Files::class, 'Document'); + $this->addField('precompiled', Files::class, 'Fluidbook Précompilé', ['can' => 'precompiled']); $this->addField('s_download', FormSection::class, 'Téléchargement et impression'); $this->addField("download_name", Text::class, 'Nom du fichier', ['default' => 'document.pdf']); $this->addField('pdf_download', Files::class, 'PDF pour le téléchargement et l\'impression'); + } public function postSave() diff --git a/composer.lock b/composer.lock index 65bf951..cc1fde7 100644 --- a/composer.lock +++ b/composer.lock @@ -6,6 +6,72 @@ ], "content-hash": "c743f32a801dc0c163a83f8f0ff687b3", "packages": [ + { + "name": "alchemy/binary-driver", + "version": "v5.2.0", + "source": { + "type": "git", + "url": "https://github.com/alchemy-fr/BinaryDriver.git", + "reference": "e0615cdff315e6b4b05ada67906df6262a020d22" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/alchemy-fr/BinaryDriver/zipball/e0615cdff315e6b4b05ada67906df6262a020d22", + "reference": "e0615cdff315e6b4b05ada67906df6262a020d22", + "shasum": "" + }, + "require": { + "evenement/evenement": "^3.0|^2.0|^1.0", + "php": ">=5.5", + "psr/log": "^1.0", + "symfony/process": "^2.3|^3.0|^4.0|^5.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.0|^5.0" + }, + "type": "library", + "autoload": { + "psr-0": { + "Alchemy": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Le Goff", + "email": "legoff.n@gmail.com" + }, + { + "name": "Romain Neutron", + "email": "imprec@gmail.com", + "homepage": "http://www.lickmychip.com/" + }, + { + "name": "Phraseanet Team", + "email": "info@alchemy.fr", + "homepage": "http://www.phraseanet.com/" + }, + { + "name": "Jens Hausdorf", + "email": "mail@jens-hausdorf.de", + "homepage": "https://jens-hausdorf.de", + "role": "Maintainer" + } + ], + "description": "A set of tools to build binary drivers", + "keywords": [ + "binary", + "driver" + ], + "support": { + "issues": "https://github.com/alchemy-fr/BinaryDriver/issues", + "source": "https://github.com/alchemy-fr/BinaryDriver/tree/master" + }, + "time": "2020-02-12T19:35:11+00:00" + }, { "name": "asm89/stack-cors", "version": "v2.0.3", @@ -131,16 +197,16 @@ }, { "name": "backpack/crud", - "version": "4.1.53", + "version": "4.1.54", "source": { "type": "git", "url": "https://github.com/Laravel-Backpack/CRUD.git", - "reference": "8698b8ed51e8b18e311f928f6f80a7161f1eb172" + "reference": "6f0ddffbe2017ef0e0d9becf5e9f422a81d94c45" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Laravel-Backpack/CRUD/zipball/8698b8ed51e8b18e311f928f6f80a7161f1eb172", - "reference": "8698b8ed51e8b18e311f928f6f80a7161f1eb172", + "url": "https://api.github.com/repos/Laravel-Backpack/CRUD/zipball/6f0ddffbe2017ef0e0d9becf5e9f422a81d94c45", + "reference": "6f0ddffbe2017ef0e0d9becf5e9f422a81d94c45", "shasum": "" }, "require": { @@ -218,9 +284,9 @@ ], "support": { "issues": "https://github.com/Laravel-Backpack/CRUD/issues", - "source": "https://github.com/Laravel-Backpack/CRUD/tree/4.1.53" + "source": "https://github.com/Laravel-Backpack/CRUD/tree/4.1.54" }, - "time": "2021-09-16T11:37:48+00:00" + "time": "2021-09-22T07:29:46+00:00" }, { "name": "backpack/logmanager", @@ -1152,17 +1218,17 @@ "source": { "type": "git", "url": "git://git.cubedesigners.com/cubist_cms-back.git", - "reference": "2a39df6e8b6e6da4c70cafbd359a7e7900bb54df" + "reference": "54c24d19ef67ff3ff6344acd716c479984a3c22f" }, "dist": { "type": "tar", - "url": "https://composer.cubedesigners.com/dist/cubist/cms-back/cubist-cms-back-dev-master-78721e.tar", - "reference": "2a39df6e8b6e6da4c70cafbd359a7e7900bb54df", - "shasum": "8268c601330917a9c23ab1dcf5ee5dbf70779f08" + "url": "https://composer.cubedesigners.com/dist/cubist/cms-back/cubist-cms-back-dev-master-1b34ce.tar", + "reference": "54c24d19ef67ff3ff6344acd716c479984a3c22f", + "shasum": "963e78142f7e8ddcf3c2a9d763756f5c866f9459" }, "require": { "backpack/backupmanager": "^3.0", - "backpack/crud": "^4.1.51", + "backpack/crud": "^4.1.54", "backpack/logmanager": "^4.0", "backpack/permissionmanager": "^6.0", "backpack/revise-operation": "^1.0", @@ -1183,12 +1249,14 @@ "fideloper/proxy": "^4.4", "genealabs/laravel-model-caching": "^0.11", "graham-campbell/markdown": "^v13.1", - "laravel/framework": "^v8.58", + "laravel/framework": "^v8.61", "lavary/laravel-menu": "^v1.8", "league/commonmark": "^1.6", + "php-ffmpeg/php-ffmpeg": "^0.18.0", "predis/predis": "^v1.1", "spatie/laravel-honeypot": "^4.0", "spatie/laravel-translatable": "^5.0", + "spatie/pdf-to-image": "^2.1", "swayok/alternative-laravel-cache": "^6.1", "venturecraft/revisionable": "^1.38" }, @@ -1235,7 +1303,7 @@ } ], "description": "Cubist Backpack extension", - "time": "2021-09-03T14:57:36+00:00" + "time": "2021-09-23T13:46:52+00:00" }, { "name": "cubist/cms-front", @@ -1337,18 +1405,22 @@ "source": { "type": "git", "url": "git://git.cubedesigners.com/cubist_laravel-backpack-dropzone-field.git", - "reference": "f3e01848bcc09ea645d44859317eafa396a2ea45" + "reference": "62ca0bbafeb2189f2fe6a917f042dcb83015e2c8" }, "dist": { "type": "tar", - "url": "https://composer.cubedesigners.com/dist/cubist/laravel-backpack-dropzone-field/cubist-laravel-backpack-dropzone-field-dev-master-1e284b.tar", - "reference": "f3e01848bcc09ea645d44859317eafa396a2ea45", - "shasum": "b2a0d7cf306d699d76676e6fdb75822b17689427" + "url": "https://composer.cubedesigners.com/dist/cubist/laravel-backpack-dropzone-field/cubist-laravel-backpack-dropzone-field-dev-master-f5b020.tar", + "reference": "62ca0bbafeb2189f2fe6a917f042dcb83015e2c8", + "shasum": "1a835b1a0584d80d30af46adc42ddf6821ffadd1" }, "require": { - "backpack/crud": "^4.0.0", - "spatie/laravel-medialibrary": "^8.0", - "spatie/pdf-to-image": "^2.0" + "backpack/crud": "^4.1.54", + "ext-exif": "*", + "ext-imagick": "*", + "php": "^7.4|^8.0", + "php-ffmpeg/php-ffmpeg": "^0.18.0", + "spatie/laravel-medialibrary": "^8.0|^9.0", + "spatie/pdf-to-image": "^2.1" }, "default-branch": true, "type": "library", @@ -1394,7 +1466,7 @@ "media", "upload" ], - "time": "2020-12-03T13:00:53+00:00" + "time": "2021-09-23T14:29:54+00:00" }, { "name": "cubist/locale", @@ -1486,13 +1558,13 @@ "source": { "type": "git", "url": "git://git.cubedesigners.com/cubist_util.git", - "reference": "ca9f1c2f7c8e729a1b6ff64ece1e1c1ab1ef4228" + "reference": "cbfc2bde5cfd950b1cd3040b5e5ca4a6dc327fe5" }, "dist": { "type": "tar", - "url": "https://composer.cubedesigners.com/dist/cubist/util/cubist-util-dev-master-e2358f.tar", - "reference": "ca9f1c2f7c8e729a1b6ff64ece1e1c1ab1ef4228", - "shasum": "c0c32959b037843d1d053b60223a3e13e0693278" + "url": "https://composer.cubedesigners.com/dist/cubist/util/cubist-util-dev-master-493786.tar", + "reference": "cbfc2bde5cfd950b1cd3040b5e5ca4a6dc327fe5", + "shasum": "5e7081e4d219715ce6fa88ed67f3954d983a9293" }, "require": { "cubist/net": "dev-master", @@ -1522,7 +1594,7 @@ } ], "description": "Utilities class", - "time": "2021-09-15T15:24:17+00:00" + "time": "2021-09-22T10:06:25+00:00" }, { "name": "cviebrock/eloquent-sluggable", @@ -1599,16 +1671,16 @@ }, { "name": "cviebrock/laravel-elasticsearch", - "version": "8.0.4", + "version": "8.0.5", "source": { "type": "git", "url": "https://github.com/cviebrock/laravel-elasticsearch.git", - "reference": "bb3bc03ed186f15826a0d06516767894336c63d1" + "reference": "c8c9c832465c8510cea49c63c8dbf05c730f3e0f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cviebrock/laravel-elasticsearch/zipball/bb3bc03ed186f15826a0d06516767894336c63d1", - "reference": "bb3bc03ed186f15826a0d06516767894336c63d1", + "url": "https://api.github.com/repos/cviebrock/laravel-elasticsearch/zipball/c8c9c832465c8510cea49c63c8dbf05c730f3e0f", + "reference": "c8c9c832465c8510cea49c63c8dbf05c730f3e0f", "shasum": "" }, "require": { @@ -1665,9 +1737,15 @@ ], "support": { "issues": "https://github.com/cviebrock/laravel-elasticsearch/issues", - "source": "https://github.com/cviebrock/laravel-elasticsearch/tree/8.0.4" + "source": "https://github.com/cviebrock/laravel-elasticsearch/tree/8.0.5" }, - "time": "2021-02-28T20:19:38+00:00" + "funding": [ + { + "url": "https://github.com/cviebrock", + "type": "github" + } + ], + "time": "2021-09-22T14:05:30+00:00" }, { "name": "digitallyhappy/toggle-field-for-backpack", @@ -1728,16 +1806,16 @@ }, { "name": "doctrine/cache", - "version": "2.1.1", + "version": "1.12.1", "source": { "type": "git", "url": "https://github.com/doctrine/cache.git", - "reference": "331b4d5dbaeab3827976273e9356b3b453c300ce" + "reference": "4cf401d14df219fa6f38b671f5493449151c9ad8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/331b4d5dbaeab3827976273e9356b3b453c300ce", - "reference": "331b4d5dbaeab3827976273e9356b3b453c300ce", + "url": "https://api.github.com/repos/doctrine/cache/zipball/4cf401d14df219fa6f38b671f5493449151c9ad8", + "reference": "4cf401d14df219fa6f38b671f5493449151c9ad8", "shasum": "" }, "require": { @@ -1807,7 +1885,7 @@ ], "support": { "issues": "https://github.com/doctrine/cache/issues", - "source": "https://github.com/doctrine/cache/tree/2.1.1" + "source": "https://github.com/doctrine/cache/tree/1.12.1" }, "funding": [ { @@ -1823,7 +1901,7 @@ "type": "tidelift" } ], - "time": "2021-07-17T14:49:29+00:00" + "time": "2021-07-17T14:39:21+00:00" }, { "name": "doctrine/dbal", @@ -2377,16 +2455,16 @@ }, { "name": "elasticsearch/elasticsearch", - "version": "v7.14.0", + "version": "v7.15.0", "source": { "type": "git", "url": "https://github.com/elastic/elasticsearch-php.git", - "reference": "0f258961c36075e17a133fe0075b881035998d27" + "reference": "77a4ade87aef8e8e6b84bafb6704cd35ac15742a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/elastic/elasticsearch-php/zipball/0f258961c36075e17a133fe0075b881035998d27", - "reference": "0f258961c36075e17a133fe0075b881035998d27", + "url": "https://api.github.com/repos/elastic/elasticsearch-php/zipball/77a4ade87aef8e8e6b84bafb6704cd35ac15742a", + "reference": "77a4ade87aef8e8e6b84bafb6704cd35ac15742a", "shasum": "" }, "require": { @@ -2437,9 +2515,56 @@ ], "support": { "issues": "https://github.com/elastic/elasticsearch-php/issues", - "source": "https://github.com/elastic/elasticsearch-php/tree/v7.14.0" + "source": "https://github.com/elastic/elasticsearch-php/tree/v7.15.0" }, - "time": "2021-08-03T16:26:31+00:00" + "time": "2021-09-23T07:05:35+00:00" + }, + { + "name": "evenement/evenement", + "version": "v3.0.1", + "source": { + "type": "git", + "url": "https://github.com/igorw/evenement.git", + "reference": "531bfb9d15f8aa57454f5f0285b18bec903b8fb7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/igorw/evenement/zipball/531bfb9d15f8aa57454f5f0285b18bec903b8fb7", + "reference": "531bfb9d15f8aa57454f5f0285b18bec903b8fb7", + "shasum": "" + }, + "require": { + "php": ">=7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0" + }, + "type": "library", + "autoload": { + "psr-0": { + "Evenement": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Igor Wiedler", + "email": "igor@wiedler.ch" + } + ], + "description": "Événement is a very simple event dispatching library for PHP", + "keywords": [ + "event-dispatcher", + "event-emitter" + ], + "support": { + "issues": "https://github.com/igorw/evenement/issues", + "source": "https://github.com/igorw/evenement/tree/master" + }, + "time": "2017-07-23T21:35:13+00:00" }, { "name": "ezimuel/guzzlestreams", @@ -2612,13 +2737,13 @@ "source": { "type": "git", "url": "git://git.cubedesigners.com/fluidbook_tools.git", - "reference": "6f09526ee33a67b11840421aa5f606a9cda1176b" + "reference": "dcc6e1543ae66f27fc5dfd8d00e33c933af8fbe4" }, "dist": { "type": "tar", - "url": "https://composer.cubedesigners.com/dist/fluidbook/tools/fluidbook-tools-dev-master-95ddd5.tar", - "reference": "6f09526ee33a67b11840421aa5f606a9cda1176b", - "shasum": "d0df8b14f7779f175f2628f54a30e3a5e95c6109" + "url": "https://composer.cubedesigners.com/dist/fluidbook/tools/fluidbook-tools-dev-master-f0cf53.tar", + "reference": "dcc6e1543ae66f27fc5dfd8d00e33c933af8fbe4", + "shasum": "883b9bcf635b5558f3f43d423541f6bfc4c253e8" }, "require": { "barryvdh/laravel-debugbar": "^3.6", @@ -2650,7 +2775,7 @@ } ], "description": "Fluidbook Tools", - "time": "2021-09-16T17:17:22+00:00" + "time": "2021-09-22T10:06:36+00:00" }, { "name": "fruitcake/laravel-cors", @@ -3226,57 +3351,6 @@ }, "time": "2021-04-26T09:17:50+00:00" }, - { - "name": "hamcrest/hamcrest-php", - "version": "v2.0.1", - "source": { - "type": "git", - "url": "https://github.com/hamcrest/hamcrest-php.git", - "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", - "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", - "shasum": "" - }, - "require": { - "php": "^5.3|^7.0|^8.0" - }, - "replace": { - "cordoval/hamcrest-php": "*", - "davedevelopment/hamcrest-php": "*", - "kodova/hamcrest-php": "*" - }, - "require-dev": { - "phpunit/php-file-iterator": "^1.4 || ^2.0", - "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.1-dev" - } - }, - "autoload": { - "classmap": [ - "hamcrest" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "This is the PHP port of Hamcrest Matchers", - "keywords": [ - "test" - ], - "support": { - "issues": "https://github.com/hamcrest/hamcrest-php/issues", - "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" - }, - "time": "2020-07-09T08:09:16+00:00" - }, { "name": "intervention/image", "version": "2.6.1", @@ -4170,78 +4244,6 @@ }, "time": "2021-08-01T09:19:02+00:00" }, - { - "name": "mockery/mockery", - "version": "1.4.4", - "source": { - "type": "git", - "url": "https://github.com/mockery/mockery.git", - "reference": "e01123a0e847d52d186c5eb4b9bf58b0c6d00346" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/e01123a0e847d52d186c5eb4b9bf58b0c6d00346", - "reference": "e01123a0e847d52d186c5eb4b9bf58b0c6d00346", - "shasum": "" - }, - "require": { - "hamcrest/hamcrest-php": "^2.0.1", - "lib-pcre": ">=7.0", - "php": "^7.3 || ^8.0" - }, - "conflict": { - "phpunit/phpunit": "<8.0" - }, - "require-dev": { - "phpunit/phpunit": "^8.5 || ^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4.x-dev" - } - }, - "autoload": { - "psr-0": { - "Mockery": "library/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Pádraic Brady", - "email": "padraic.brady@gmail.com", - "homepage": "http://blog.astrumfutura.com" - }, - { - "name": "Dave Marshall", - "email": "dave.marshall@atstsolutions.co.uk", - "homepage": "http://davedevelopment.co.uk" - } - ], - "description": "Mockery is a simple yet flexible PHP mock object framework", - "homepage": "https://github.com/mockery/mockery", - "keywords": [ - "BDD", - "TDD", - "library", - "mock", - "mock objects", - "mockery", - "stub", - "test", - "test double", - "testing" - ], - "support": { - "issues": "https://github.com/mockery/mockery/issues", - "source": "https://github.com/mockery/mockery/tree/1.4.4" - }, - "time": "2021-09-13T15:28:59+00:00" - }, { "name": "monolog/monolog", "version": "2.3.4", @@ -4554,18 +4556,62 @@ ], "time": "2021-09-06T09:29:23+00:00" }, + { + "name": "neutron/temporary-filesystem", + "version": "3.0", + "source": { + "type": "git", + "url": "https://github.com/romainneutron/Temporary-Filesystem.git", + "reference": "60e79adfd16f42f4b888e351ad49f9dcb959e3c2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/romainneutron/Temporary-Filesystem/zipball/60e79adfd16f42f4b888e351ad49f9dcb959e3c2", + "reference": "60e79adfd16f42f4b888e351ad49f9dcb959e3c2", + "shasum": "" + }, + "require": { + "php": ">=5.6", + "symfony/filesystem": "^2.3 || ^3.0 || ^4.0 || ^5.0" + }, + "require-dev": { + "symfony/phpunit-bridge": "^5.0.4" + }, + "type": "library", + "autoload": { + "psr-0": { + "Neutron": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Romain Neutron", + "email": "imprec@gmail.com" + } + ], + "description": "Symfony filesystem extension to handle temporary files", + "support": { + "issues": "https://github.com/romainneutron/Temporary-Filesystem/issues", + "source": "https://github.com/romainneutron/Temporary-Filesystem/tree/3.0" + }, + "time": "2020-07-27T14:00:33+00:00" + }, { "name": "nikic/php-parser", - "version": "v4.12.0", + "version": "v4.13.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "6608f01670c3cc5079e18c1dab1104e002579143" + "reference": "50953a2691a922aa1769461637869a0a2faa3f53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6608f01670c3cc5079e18c1dab1104e002579143", - "reference": "6608f01670c3cc5079e18c1dab1104e002579143", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/50953a2691a922aa1769461637869a0a2faa3f53", + "reference": "50953a2691a922aa1769461637869a0a2faa3f53", "shasum": "" }, "require": { @@ -4606,9 +4652,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.12.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.0" }, - "time": "2021-07-21T10:44:31+00:00" + "time": "2021-09-20T12:20:58+00:00" }, { "name": "nothingworks/blade-svg", @@ -4750,6 +4796,94 @@ }, "time": "2021-04-09T13:42:10+00:00" }, + { + "name": "php-ffmpeg/php-ffmpeg", + "version": "v0.18.0", + "source": { + "type": "git", + "url": "https://github.com/PHP-FFMpeg/PHP-FFMpeg.git", + "reference": "edc0a7729d8818ed883e77b3d26ceb6d49ec41de" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHP-FFMpeg/PHP-FFMpeg/zipball/edc0a7729d8818ed883e77b3d26ceb6d49ec41de", + "reference": "edc0a7729d8818ed883e77b3d26ceb6d49ec41de", + "shasum": "" + }, + "require": { + "alchemy/binary-driver": "^1.5 || ~2.0.0 || ^5.0", + "doctrine/cache": "^1.0", + "evenement/evenement": "^3.0 || ^2.0 || ^1.0", + "neutron/temporary-filesystem": "^2.1.1 || ^3.0", + "php": ">=5.3.9" + }, + "require-dev": { + "silex/silex": "~1.0", + "symfony/phpunit-bridge": "^5.0.4", + "symfony/process": "2.8 || 3.3" + }, + "suggest": { + "php-ffmpeg/extras": "A compilation of common audio & video drivers for PHP-FFMpeg" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.x-dev" + } + }, + "autoload": { + "psr-0": { + "FFMpeg": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Romain Neutron", + "email": "imprec@gmail.com", + "homepage": "http://www.lickmychip.com/" + }, + { + "name": "Phraseanet Team", + "email": "info@alchemy.fr", + "homepage": "http://www.phraseanet.com/" + }, + { + "name": "Patrik Karisch", + "email": "patrik@karisch.guru", + "homepage": "http://www.karisch.guru" + }, + { + "name": "Romain Biard", + "email": "romain.biard@gmail.com", + "homepage": "https://www.strime.io/" + }, + { + "name": "Jens Hausdorf", + "email": "hello@jens-hausdorf.de", + "homepage": "https://jens-hausdorf.de" + } + ], + "description": "FFMpeg PHP, an Object Oriented library to communicate with AVconv / ffmpeg", + "keywords": [ + "audio", + "audio processing", + "avconv", + "avprobe", + "ffmpeg", + "ffprobe", + "video", + "video processing" + ], + "support": { + "issues": "https://github.com/PHP-FFMpeg/PHP-FFMpeg/issues", + "source": "https://github.com/PHP-FFMpeg/PHP-FFMpeg/tree/v0.18.0" + }, + "time": "2021-03-29T20:20:00+00:00" + }, { "name": "phpoption/phpoption", "version": "1.8.0", @@ -6063,31 +6197,32 @@ }, { "name": "spatie/laravel-medialibrary", - "version": "8.10.2", + "version": "9.7.4", "source": { "type": "git", "url": "https://github.com/spatie/laravel-medialibrary.git", - "reference": "448e8389cadc79f42c3c96c7c9491b57015702d4" + "reference": "41fa9dd7578c41194d2661d678304c558824c365" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/448e8389cadc79f42c3c96c7c9491b57015702d4", - "reference": "448e8389cadc79f42c3c96c7c9491b57015702d4", + "url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/41fa9dd7578c41194d2661d678304c558824c365", + "reference": "41fa9dd7578c41194d2661d678304c558824c365", "shasum": "" }, "require": { + "ext-exif": "*", "ext-fileinfo": "*", "ext-json": "*", - "illuminate/bus": "^6.18|^7.0|^8.0", - "illuminate/console": "^6.18|^7.0|^8.0", - "illuminate/database": "^6.18|^7.0|^8.0", - "illuminate/pipeline": "^6.18|^7.0|^8.0", - "illuminate/support": "^6.18|^7.0|^8.0", + "illuminate/bus": "^7.0|^8.0", + "illuminate/console": "^7.0|^8.0", + "illuminate/database": "^7.0|^8.0", + "illuminate/pipeline": "^7.0|^8.0", + "illuminate/support": "^7.0|^8.0", "league/flysystem": "^1.0.64", "maennchen/zipstream-php": "^1.0|^2.0", "php": "^7.4|^8.0", - "spatie/image": "^1.4.0", - "spatie/temporary-directory": "^1.1", + "spatie/image": "^1.4", + "spatie/temporary-directory": "^1.1|^2.0", "symfony/console": "^4.4|^5.0" }, "conflict": { @@ -6095,15 +6230,15 @@ }, "require-dev": { "aws/aws-sdk-php": "^3.133.11", - "doctrine/dbal": "^2.5.2", + "doctrine/dbal": "^2.12", "ext-pdo_sqlite": "*", "ext-zip": "*", - "guzzlehttp/guzzle": "^6.3|^7.0", + "guzzlehttp/guzzle": "^7.0", "league/flysystem-aws-s3-v3": "^1.0.23", - "mockery/mockery": "^1.3", - "orchestra/testbench": "^4.0|^5.0|^6.0", - "php-ffmpeg/php-ffmpeg": "^0.17.0", - "phpunit/phpunit": "^9.1", + "mockery/mockery": "^1.4", + "orchestra/testbench": "^5.0|^6.0", + "phpunit/phpunit": "^9.3", + "spatie/laravel-ray": "^1.24", "spatie/pdf-to-image": "^2.0", "spatie/phpunit-snapshot-assertions": "^4.0" }, @@ -6151,7 +6286,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-medialibrary/issues", - "source": "https://github.com/spatie/laravel-medialibrary/tree/8.10.2" + "source": "https://github.com/spatie/laravel-medialibrary/tree/9.7.4" }, "funding": [ { @@ -6163,28 +6298,28 @@ "type": "github" } ], - "time": "2021-05-22T09:23:57+00:00" + "time": "2021-09-10T07:31:02+00:00" }, { "name": "spatie/laravel-package-tools", - "version": "1.9.0", + "version": "1.9.2", "source": { "type": "git", "url": "https://github.com/spatie/laravel-package-tools.git", - "reference": "cf4c4cec220575e2864c6082842d76822421f1b1" + "reference": "f710fe196c126fb9e0aee67eb5af49ad8f13f528" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/cf4c4cec220575e2864c6082842d76822421f1b1", - "reference": "cf4c4cec220575e2864c6082842d76822421f1b1", + "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/f710fe196c126fb9e0aee67eb5af49ad8f13f528", + "reference": "f710fe196c126fb9e0aee67eb5af49ad8f13f528", "shasum": "" }, "require": { "illuminate/contracts": "^7.0|^8.0", - "mockery/mockery": "^1.4", "php": "^7.4|^8.0" }, "require-dev": { + "mockery/mockery": "^1.4", "orchestra/testbench": "^5.0|^6.0", "phpunit/phpunit": "^9.3", "spatie/test-time": "^1.2" @@ -6215,7 +6350,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-package-tools/issues", - "source": "https://github.com/spatie/laravel-package-tools/tree/1.9.0" + "source": "https://github.com/spatie/laravel-package-tools/tree/1.9.2" }, "funding": [ { @@ -6223,7 +6358,7 @@ "type": "github" } ], - "time": "2021-05-23T15:12:33+00:00" + "time": "2021-09-21T13:06:51+00:00" }, { "name": "spatie/laravel-permission", @@ -7176,6 +7311,69 @@ ], "time": "2021-03-23T23:28:01+00:00" }, + { + "name": "symfony/filesystem", + "version": "v5.3.4", + "source": { + "type": "git", + "url": "https://github.com/symfony/filesystem.git", + "reference": "343f4fe324383ca46792cae728a3b6e2f708fb32" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/343f4fe324383ca46792cae728a3b6e2f708fb32", + "reference": "343f4fe324383ca46792cae728a3b6e2f708fb32", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-php80": "^1.16" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Filesystem\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides basic utilities for the filesystem", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/filesystem/tree/v5.3.4" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-07-21T12:40:44+00:00" + }, { "name": "symfony/finder", "version": "v5.3.7", @@ -9713,16 +9911,16 @@ }, { "name": "filp/whoops", - "version": "2.14.1", + "version": "2.14.3", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "15ead64e9828f0fc90932114429c4f7923570cb1" + "reference": "89584ce67dd32307f1063cc43846674f4679feda" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/15ead64e9828f0fc90932114429c4f7923570cb1", - "reference": "15ead64e9828f0fc90932114429c4f7923570cb1", + "url": "https://api.github.com/repos/filp/whoops/zipball/89584ce67dd32307f1063cc43846674f4679feda", + "reference": "89584ce67dd32307f1063cc43846674f4679feda", "shasum": "" }, "require": { @@ -9772,7 +9970,7 @@ ], "support": { "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.14.1" + "source": "https://github.com/filp/whoops/tree/2.14.3" }, "funding": [ { @@ -9780,7 +9978,58 @@ "type": "github" } ], - "time": "2021-08-29T12:00:00+00:00" + "time": "2021-09-19T12:00:00+00:00" + }, + { + "name": "hamcrest/hamcrest-php", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "shasum": "" + }, + "require": { + "php": "^5.3|^7.0|^8.0" + }, + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" + }, + "require-dev": { + "phpunit/php-file-iterator": "^1.4 || ^2.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + }, + "autoload": { + "classmap": [ + "hamcrest" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "This is the PHP port of Hamcrest Matchers", + "keywords": [ + "test" + ], + "support": { + "issues": "https://github.com/hamcrest/hamcrest-php/issues", + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" + }, + "time": "2020-07-09T08:09:16+00:00" }, { "name": "laravel/sail", @@ -9842,6 +10091,78 @@ }, "time": "2021-08-23T13:43:27+00:00" }, + { + "name": "mockery/mockery", + "version": "1.4.4", + "source": { + "type": "git", + "url": "https://github.com/mockery/mockery.git", + "reference": "e01123a0e847d52d186c5eb4b9bf58b0c6d00346" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mockery/mockery/zipball/e01123a0e847d52d186c5eb4b9bf58b0c6d00346", + "reference": "e01123a0e847d52d186c5eb4b9bf58b0c6d00346", + "shasum": "" + }, + "require": { + "hamcrest/hamcrest-php": "^2.0.1", + "lib-pcre": ">=7.0", + "php": "^7.3 || ^8.0" + }, + "conflict": { + "phpunit/phpunit": "<8.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.5 || ^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4.x-dev" + } + }, + "autoload": { + "psr-0": { + "Mockery": "library/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "http://blog.astrumfutura.com" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "http://davedevelopment.co.uk" + } + ], + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ], + "support": { + "issues": "https://github.com/mockery/mockery/issues", + "source": "https://github.com/mockery/mockery/tree/1.4.4" + }, + "time": "2021-09-13T15:28:59+00:00" + }, { "name": "myclabs/deep-copy", "version": "1.10.2", @@ -9902,33 +10223,32 @@ }, { "name": "nunomaduro/collision", - "version": "v5.9.0", + "version": "v5.10.0", "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "63456f5c3e8c4bc52bd573e5c85674d64d84fd43" + "reference": "3004cfa49c022183395eabc6d0e5207dfe498d00" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/63456f5c3e8c4bc52bd573e5c85674d64d84fd43", - "reference": "63456f5c3e8c4bc52bd573e5c85674d64d84fd43", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/3004cfa49c022183395eabc6d0e5207dfe498d00", + "reference": "3004cfa49c022183395eabc6d0e5207dfe498d00", "shasum": "" }, "require": { "facade/ignition-contracts": "^1.0", - "filp/whoops": "^2.7.2", + "filp/whoops": "^2.14.3", "php": "^7.3 || ^8.0", "symfony/console": "^5.0" }, "require-dev": { "brianium/paratest": "^6.1", "fideloper/proxy": "^4.4.1", - "friendsofphp/php-cs-fixer": "^3.0", "fruitcake/laravel-cors": "^2.0.3", - "laravel/framework": "^8.0 || ^9.0", + "laravel/framework": "8.x-dev", "nunomaduro/larastan": "^0.6.2", "nunomaduro/mock-final-classes": "^1.0", - "orchestra/testbench": "^6.0 || ^7.0", + "orchestra/testbench": "^6.0", "phpstan/phpstan": "^0.12.64", "phpunit/phpunit": "^9.5.0" }, @@ -9986,7 +10306,7 @@ "type": "patreon" } ], - "time": "2021-08-26T15:32:09+00:00" + "time": "2021-09-20T15:06:32+00:00" }, { "name": "phar-io/manifest", @@ -10210,16 +10530,16 @@ }, { "name": "phpdocumentor/type-resolver", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0" + "reference": "30f38bffc6f24293dadd1823936372dfa9e86e2f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", - "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/30f38bffc6f24293dadd1823936372dfa9e86e2f", + "reference": "30f38bffc6f24293dadd1823936372dfa9e86e2f", "shasum": "" }, "require": { @@ -10227,7 +10547,8 @@ "phpdocumentor/reflection-common": "^2.0" }, "require-dev": { - "ext-tokenizer": "*" + "ext-tokenizer": "*", + "psalm/phar": "^4.8" }, "type": "library", "extra": { @@ -10253,9 +10574,9 @@ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.5.0" }, - "time": "2020-09-17T18:55:26+00:00" + "time": "2021-09-17T15:28:14+00:00" }, { "name": "phpspec/prophecy", @@ -10326,23 +10647,23 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.6", + "version": "9.2.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "f6293e1b30a2354e8428e004689671b83871edde" + "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f6293e1b30a2354e8428e004689671b83871edde", - "reference": "f6293e1b30a2354e8428e004689671b83871edde", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/d4c798ed8d51506800b441f7a13ecb0f76f12218", + "reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.10.2", + "nikic/php-parser": "^4.12.0", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -10391,7 +10712,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.6" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.7" }, "funding": [ { @@ -10399,7 +10720,7 @@ "type": "github" } ], - "time": "2021-03-28T07:26:59+00:00" + "time": "2021-09-17T05:39:03+00:00" }, { "name": "phpunit/php-file-iterator", -- 2.39.5