---
title: "Installation — HTTP Client Rate Limits for Laravel | Roundly"
description: "Install via Composer, optionally publish the config, and publish the migration only if you use the DatabaseStore."
url: https://roundly-consulting.com/open-source/docs/http-client-rate-limits-for-laravel/installation
language: en
---

[All packages](https://roundly-consulting.com/open-source.md)

[HTTP Client Rate Limits for Laravel](https://roundly-consulting.com/open-source/docs/http-client-rate-limits-for-laravel.md)

# Installation

Require the package. The service provider is auto-discovered — no manual registration, and no configuration is needed to start:

```bash
composer require roundly-consulting/http-client-rate-limits-for-laravel
```

The config file is optional — every key has a default. Publish it only to define named profiles or change the store, deferrer or events:

```bash
php artisan vendor:publish --tag="http-client-rate-limits-config"
```

## Database store migration

Only if you use the DatabaseStore, publish and run its migration. It creates the http\_client\_rate\_limits hits table and the http\_client\_rate\_limit\_owners table the store locks and keeps adaptive penalties in:

```bash
php artisan vendor:publish --tag="http-client-rate-limits-migrations"
php artisan migrate
```

The migration is not loaded automatically — php artisan migrate only creates the tables once you have published it into your app’s database/migrations. Publishing again is idempotent: it overwrites the file it already placed instead of adding a second copy.

## Show your open-source love

This package is free and MIT-licensed. If it saves you time, a one-off donation or a Patreon membership keeps it maintained, tested and documented.

[More ways to support, including crypto](https://roundly-consulting.com/support-us.md)

By donating, you agree to our [donation terms](https://roundly-consulting.com/donation-terms.md).

[Support our open source work (opens in a new tab)](https://donate.stripe.com/dRmeVe8FX5PF1Qd9pXcEw00) [Join us on Patreon (opens in a new tab)](https://www.patreon.com/cw/roundly)

## Want this built into your product?

We integrate our packages into custom Laravel and AI builds. Tell us what you're working on and we'll reply within 48 hours.

[Get a quote in 48 hours](https://roundly-consulting.com/contact.md) [Browse all packages](https://roundly-consulting.com/open-source/docs/http-client-rate-limits-for-laravel.md)
