Download the PHP package me-shaon/laravel-resilience without Composer

On this page you can find all versions of the php package me-shaon/laravel-resilience. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-resilience

Laravel Resilience

Laravel Resilience helps you verify how a Laravel app behaves when a real dependency becomes slow, times out, or fails.

Instead of replacing that dependency with a mock, it injects faults into the actual container-managed service or Laravel integration your code normally uses. That makes it useful for checking fallback behavior, degraded responses, retries, logs, jobs, and duplicate-side-effect protection in a more realistic way.

Why it is useful

Use this package when you want to:

In short:

Compatibility

Installation

Laravel package discovery registers the service provider and facade automatically.

If you want to customize the defaults:

Quick start

The easiest way to adopt the package is:

  1. discover likely resilience-sensitive code
  2. turn findings into suggestions
  3. scaffold draft tests for the highest-value gaps
  4. refine those drafts into real application-specific resilience tests

What each command does:

If you want the fuller walkthrough, CLI examples, report options, and longer explanations, read Usage Guide.

The HTML reports are useful when the CLI output gets too large:

A quick example

Application code:

Resilience test:

What this proves:

Best fit

Laravel Resilience works best when your app already has clear dependency seams.

Best-supported patterns:

Weakly supported patterns:

Those areas can still be discovered and suggested, but they usually need some refactoring before fault injection becomes truly effective.

Main capabilities

Fault injection

You can fault container-managed services directly:

Supported fluent fault types for direct runtime injection:

Laravel-aware helpers are also available:

Named targets are supported too:

Assertions

The package includes readable assertions for common resilience outcomes:

Scenario runner

Scenarios let you define a named resilience drill and run it from Artisan:

Discovery, suggestions, and scaffolding

These commands help teams adopt resilience testing incrementally:

Scaffold behavior:

Safety defaults

Laravel Resilience is intentionally conservative:

Command reference

Further reading

If you want the deeper internals and longer examples, use the guides instead of growing the README:

Development

License

MIT. See LICENSE.md.


All versions of laravel-resilience with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0||^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package me-shaon/laravel-resilience contains the following files

Loading the files please wait ...