feat: rename package to lthn/php-tenant for Packagist
Some checks failed
CI / PHP 8.3 (push) Failing after 2s
CI / PHP 8.4 (push) Failing after 2s

This commit is contained in:
Snider 2026-03-09 18:00:17 +00:00
parent 08180c223c
commit 3546cb1dad
2 changed files with 10 additions and 7 deletions

View file

@ -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.

View file

@ -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"
}
}