Download the PHP package desmart/laravel-padlock without Composer
On this page you can find all versions of the php package desmart/laravel-padlock. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download desmart/laravel-padlock
More information about desmart/laravel-padlock
Files in desmart/laravel-padlock
Download desmart/laravel-padlock
More information about desmart/laravel-padlock
Files in desmart/laravel-padlock
Vendor desmart
Package laravel-padlock
Short Description Script locking mechanism for Laravel. Enables blocking scripts execution for given period, for example to avoid cron jobs overlapping
License MIT
Package laravel-padlock
Short Description Script locking mechanism for Laravel. Enables blocking scripts execution for given period, for example to avoid cron jobs overlapping
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-padlock
Padlock Script Locker for Laravel framework
This package allows for easily temporarily locking your scripts execution.
It might come in handy in cases such as CRON jobs that connect with unreliable APIS, where you're not 100% sure if your script won't fail at some point.
Requirements
This package requires:
- PHP >= 7.0.0
- Laravel 5.3 || 5.4
Installation
$ composer require desmart/laravel-padlock
-
Add
DeSmart\Padlock\ServiceProvider
to yourconfig/app.php
: $ php artisan vendor:publish --provider="DeSmart\Padlock\ServiceProvider"
- Configure in
config/padlock.php
- choose between Database and Filesystem driver
Example usage
This package's purpose is to protect your script from being run on multiple threads.
It is useful for long-time backend jobs such as handling queries, or harvesting data from external APIs.
All versions of laravel-padlock with dependencies
PHP Build Version
Package Version
The package desmart/laravel-padlock contains the following files
Loading the files please wait ....