Download the PHP package protonemedia/laravel-minio-testing-tools without Composer
On this page you can find all versions of the php package protonemedia/laravel-minio-testing-tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download protonemedia/laravel-minio-testing-tools
More information about protonemedia/laravel-minio-testing-tools
Files in protonemedia/laravel-minio-testing-tools
Package laravel-minio-testing-tools
Short Description This is my package laravel-minio-testing-tools
License MIT
Homepage https://github.com/protonemedia/laravel-minio-testing-tools
Informations about the package laravel-minio-testing-tools
Laravel MinIO Testing Tools
This package provides a trait to run your tests against a MinIO S3 server.
Sponsor Us
❤️ 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 and check out our latest premium package: Inertia Table. Keeping track of issues and pull requests takes time, but we're happy to help!
Features
- Starts and configures a MinIO server for your tests.
- Updates the
filesystems
disk configuration. - Updates and restores the
.env
file. - Works with Laravel Dusk.
- Works on GitHub Actions
- Compatible with Laravel 10.
- PHP 8.2 or higher is required.
Installation
Make sure you've downloaded the MinIO Server and Client for your OS.
You can install the package via composer:
Add the trait to your test, and add the bootUsesMinIOServer
method:
That's it!
GitHub Actions
The easiest way is to download the MinIO Server and Client before the tests are run:
If you're using php artisan serve
, make sure you don't use the --no-reload
flag, as the .env
file will be changed on-the-fly.
Optionally, if you want persistent storage across the test suite, you may start the server manually before the tests are run.
In this case, you also need to supply an environment file with the MinIO configuration. This makes the configuration also accessible by the browser session when you're running Laravel Dusk.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Other Laravel packages
Inertia Table
: The Ultimate Table for Inertia.js with built-in Query Builder.Laravel Blade On Demand
: Laravel package to compile Blade templates in memory.Laravel Cross Eloquent Search
: Laravel package to search through multiple Eloquent models.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.Laravel FFMpeg
: This package provides an integration with FFmpeg for Laravel. The storage of the files is handled by Laravel's Filesystem.Laravel MinIO Testing Tools
: Run your tests against a MinIO S3 server.Laravel Mixins
: A collection of Laravel goodies.Laravel Paddle
: Paddle.com API integration for Laravel with support for webhooks/events.Laravel Task Runner
: Write Shell scripts like Blade Components and run them locally or on a remote server.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.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.
Security
If you discover any security-related issues, please email [email protected] instead of using the issue tracker. Please do not email any questions, open an issue if you have a question.
Credits
- Pascal Baljet
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-minio-testing-tools with dependencies
guzzlehttp/guzzle Version ^7.4
illuminate/contracts Version ^10.0|^11.0
spatie/laravel-package-tools Version ^1.9.2
spatie/temporary-directory Version ^2.1