From 5499605439d5ce851cdded78ddb17f62ad801223 Mon Sep 17 00:00:00 2001 From: iman Date: Sun, 6 Sep 2026 10:10:18 +0330 Subject: [PATCH 1/2] docs: use a static MIT license badge The badge pointed at shields.io's GitHub license endpoint, which resolves through the repository path and so breaks on every rename (and is subject to GitHub API rate limiting). The license is fixed at MIT in composer.json and LICENSE, so render it statically instead. Co-Authored-By: Claude Opus 5 (1M context) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e301220..3db4122 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Interchange [![Tests](https://github.com/IFDS-OSS/interchange/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/IFDS-OSS/interchange/actions/workflows/tests.yml) -[![License](https://img.shields.io/github/license/IFDS-OSS/interchange.svg)](LICENSE) +[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) +[![Latest Version](https://img.shields.io/packagist/v/ifds-oss/interchange.svg?include_prereleases)](https://packagist.org/packages/ifds-oss/interchange) A driver-based outbound HTTP integration layer for Laravel. Define each third-party API as a small **client class** with declarative endpoints, then call it through a @@ -37,9 +34,14 @@ package extracts that into a single abstraction: ## Installation ```bash -composer require ifds-oss/interchange +composer require ifds-oss/interchange:^1.0@beta ``` +The current release is a pre-release, so Composer needs to be told the beta is +acceptable — either with the `@beta` suffix above, or by setting +`"minimum-stability": "beta"` in your `composer.json`. Once 1.0.0 is tagged, +plain `composer require ifds-oss/interchange` will work. + The service provider and the `Interchange` facade alias are auto-discovered. Publish the config file if you want to customise it: