From 31c38b92804726c75804377b38c5f3f3875c415e Mon Sep 17 00:00:00 2001 From: Snider Date: Mon, 9 Mar 2026 18:00:42 +0000 Subject: [PATCH] feat: rename package to lthn/php-template for Packagist --- README.md | 16 ++++++++-------- composer.json | 15 +++++++++------ 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 5db97d9..e5769c8 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Core PHP Framework Project -[![CI](https://github.com/host-uk/core-template/actions/workflows/ci.yml/badge.svg)](https://github.com/host-uk/core-template/actions/workflows/ci.yml) -[![codecov](https://codecov.io/gh/host-uk/core-template/graph/badge.svg)](https://codecov.io/gh/host-uk/core-template) -[![PHP Version](https://img.shields.io/packagist/php-v/host-uk/core-template)](https://packagist.org/packages/host-uk/core-template) +[![CI](https://github.com/lthn/php-template/actions/workflows/ci.yml/badge.svg)](https://github.com/lthn/php-template/actions/workflows/ci.yml) +[![codecov](https://codecov.io/gh/lthn/php-template/graph/badge.svg)](https://codecov.io/gh/lthn/php-template) +[![PHP Version](https://img.shields.io/packagist/php-v/lthn/php-template)](https://packagist.org/packages/lthn/php-template) [![Laravel](https://img.shields.io/badge/Laravel-12.x-FF2D20?logo=laravel)](https://laravel.com) [![License](https://img.shields.io/badge/License-EUPL--1.2-blue.svg)](LICENSE) @@ -26,7 +26,7 @@ A modular monolith Laravel application built with Core PHP Framework. ```bash # Clone or create from template -git clone https://github.com/host-uk/core-template.git my-project +git clone https://github.com/lthn/php-template.git my-project cd my-project # Install dependencies @@ -107,10 +107,10 @@ class Boot | Package | Description | |---------|-------------| -| `host-uk/core` | Core framework components | -| `host-uk/core-admin` | Admin panel & Livewire modals | -| `host-uk/core-api` | REST API with scopes & webhooks | -| `host-uk/core-mcp` | Model Context Protocol tools | +| `lthn/php` | Core framework components | +| `lthn/php-admin` | Admin panel & Livewire modals | +| `lthn/php-api` | REST API with scopes & webhooks | +| `lthn/php-mcp` | Model Context Protocol tools | ## Flux Pro (Optional) diff --git a/composer.json b/composer.json index 54121ca..b9fdbe1 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "host-uk/core-template", + "name": "lthn/php-template", "type": "project", "description": "Core PHP Framework - Project Template", "keywords": [ @@ -16,10 +16,10 @@ "laravel/tinker": "^2.10", "livewire/flux": "^2.0", "livewire/livewire": "^3.0", - "host-uk/core": "dev-main", - "host-uk/core-admin": "dev-main", - "host-uk/core-api": "dev-main", - "host-uk/core-mcp": "dev-main" + "lthn/php": "dev-main", + "lthn/php-admin": "dev-main", + "lthn/php-api": "dev-main", + "lthn/php-mcp": "dev-main" }, "require-dev": { "fakerphp/faker": "^1.23", @@ -86,5 +86,8 @@ } }, "minimum-stability": "stable", - "prefer-stable": true + "prefer-stable": true, + "replace": { + "host-uk/core-template": "self.version" + } }