From 3546cb1dad191d3c7ea04841436961a76e2fa0cf Mon Sep 17 00:00:00 2001 From: Snider Date: Mon, 9 Mar 2026 18:00:17 +0000 Subject: [PATCH] feat: rename package to lthn/php-tenant for Packagist --- README.md | 8 ++++---- composer.json | 9 ++++++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2dfc1cb..3a71b6e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Core Tenant -[![CI](https://github.com/host-uk/core-tenant/actions/workflows/ci.yml/badge.svg)](https://github.com/host-uk/core-tenant/actions/workflows/ci.yml) -[![PHP Version](https://img.shields.io/packagist/php-v/host-uk/core-tenant)](https://packagist.org/packages/host-uk/core-tenant) +[![CI](https://github.com/lthn/php-tenant/actions/workflows/ci.yml/badge.svg)](https://github.com/lthn/php-tenant/actions/workflows/ci.yml) +[![PHP Version](https://img.shields.io/packagist/php-v/lthn/php-tenant)](https://packagist.org/packages/lthn/php-tenant) [![Laravel](https://img.shields.io/badge/Laravel-11.x%20%7C%2012.x-FF2D20?logo=laravel)](https://laravel.com) [![License](https://img.shields.io/badge/License-EUPL--1.2-blue.svg)](LICENSE) @@ -20,12 +20,12 @@ Multi-tenancy module for the Core PHP Framework providing users, workspaces, and - PHP 8.2+ - Laravel 11.x or 12.x -- Core PHP Framework (`host-uk/core`) +- Core PHP Framework (`lthn/php`) ## Installation ```bash -composer require host-uk/core-tenant +composer require lthn/php-tenant ``` The service provider will be auto-discovered. diff --git a/composer.json b/composer.json index a2886af..159889a 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "core/php-tenant", + "name": "lthn/php-tenant", "description": "Multi-tenancy and workspaces for Laravel", "keywords": [ "multi-tenant", @@ -9,7 +9,7 @@ "license": "EUPL-1.2", "require": { "php": "^8.2", - "core/php": "*" + "lthn/php": "*" }, "require-dev": { "laravel/pint": "^1.18", @@ -52,5 +52,8 @@ "type": "path", "url": "../php" } - ] + ], + "replace": { + "core/php-tenant": "self.version" + } }