Download the PHP package iperamuna/laravel-redis-bloom without Composer

On this page you can find all versions of the php package iperamuna/laravel-redis-bloom. 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-redis-bloom

Laravel Redis Bloom

Laravel Redis Bloom Banner

Latest Version on Packagist Total Downloads Build Status Laravel Compatibility

Laravel Redis Bloom is an industrial-grade probabilistic infrastructure layer for Laravel. It provides a highly optimized, developer-friendly wrapper around the RedisBloom module, enabling sub-millisecond membership checks at massive scale with near-zero memory overhead.

Whether you are deduplicating billion-row datasets, protecting signup APIs from spam, or implementing high-speed caching logic, this package provides the tools to do it with confidence.


🧐 The Problem: Scaling Membership Checks

As your data grows, checking if a value (like an email, IP, or ID) already exists becomes an expensive operation. Traditional approaches hit a wall:

🧠 The Solution: Probabilistic Efficiency

Laravel Redis Bloom leverages Bloom Filters—a probabilistic data structure that is incredibly space-efficient.


🔥 Key Architectural Features


🛠 Installation

1. Requirements

2. Composer

3. Publish Configuration

4. Run System Check


⚙️ Configuration

Define your specialized filters in config/bloom.php. You can tune the error rate and capacity per filter if needed, or use the global defaults.

[!TIP] Automatic Prefixing: This package automatically detects and honors the prefix defined in your config/database.php. Your Bloom keys will be correctly namespaced (e.g., laravel_database_bf:emails).


🚀 Advanced Usage

🧠 The Fluent API

The Bloom facade provides a clean, chainable interface for interacting with your filters.

🛡️ Smart Validation (Truth Verification)

Bloom filters are probabilistic. While a false result is 100% certain, a true result is "probably exists." We provide a check method to handle the "truth" verification via a fallback closure.

✅ Clean Laravel Validation

Use the custom rule in your Form Requests or controllers for ultra-fast duplicate detection.

🚦 API Guard Middleware

Protect your high-traffic endpoints from duplicate submissions or known spam entries without hitting your database.


🧰 Management & Monitoring

🩺 System Diagnostics (The Doctor)

Setup can be tricky. Our doctor analyzes your environment and gives you the exact commands to run for your specific OS.

📈 Real-time Statistics

Monitor the health and efficiency of your filters.

📥 Bulk Hydration

Hydrate a new Bloom filter from your existing production data in seconds.


🧪 Testing

We use Pest to ensure 100% reliability of the core rotation and metrics logic.

📄 License

The MIT License (MIT). Please see License File for more information.

✨ Credits

Developed with ❤️ by Indunil Peramuna. Check out my GitHub for more high-performance Laravel tools.


All versions of laravel-redis-bloom with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/config Version ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^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 iperamuna/laravel-redis-bloom contains the following files

Loading the files please wait ...