From 0bf438631efce3902f3a904907d2af489c0bc56f Mon Sep 17 00:00:00 2001 From: Lexian-Droid Date: Sun, 10 Mar 2024 13:28:01 -0400 Subject: [PATCH] Update package namespace and references to lexian-droid --- .github/FUNDING.yml | 2 +- .github/ISSUE_TEMPLATE/config.yml | 6 +++--- LICENSE.md | 2 +- README.md | 12 ++++++------ composer.json | 16 ++++++++-------- config/motd.php | 2 +- database/factories/ModelFactory.php | 2 +- phpunit.xml.dist | 2 +- src/Commands/MotdCommand.php | 2 +- src/Facades/Motd.php | 6 +++--- src/Models/motd.php | 2 +- src/MotdServiceProvider.php | 4 ++-- tests/Pest.php | 2 +- tests/TestCase.php | 6 +++--- 14 files changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 8cf7cbb..30d4eaf 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1 +1 @@ -github: lexiandev +github: lexian-droid diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 683927b..5c24ec8 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,11 +1,11 @@ blank_issues_enabled: false contact_links: - name: Ask a question - url: https://github.com/lexiandev/laravel-motd/discussions/new?category=q-a + url: https://github.com/lexian-droid/laravel-motd/discussions/new?category=q-a about: Ask the community for help - name: Request a feature - url: https://github.com/lexiandev/laravel-motd/discussions/new?category=ideas + url: https://github.com/lexian-droid/laravel-motd/discussions/new?category=ideas about: Share ideas for new features - name: Report a security issue - url: https://github.com/lexiandev/laravel-motd/security/policy + url: https://github.com/lexian-droid/laravel-motd/security/policy about: Learn how to notify us for sensitive bugs diff --git a/LICENSE.md b/LICENSE.md index af7fd3a..f6576fd 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) lexiandev +Copyright (c) lexian-droid Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index f4729d9..2ea22ed 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Display MOTD messages to your users. -[![Latest Version on Packagist](https://img.shields.io/packagist/v/lexiandev/laravel-motd.svg?style=flat-square)](https://packagist.org/packages/lexiandev/laravel-motd) -[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/lexiandev/laravel-motd/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/lexiandev/laravel-motd/actions?query=workflow%3Arun-tests+branch%3Amain) -[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/lexiandev/laravel-motd/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/lexiandev/laravel-motd/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain) -[![Total Downloads](https://img.shields.io/packagist/dt/lexiandev/laravel-motd.svg?style=flat-square)](https://packagist.org/packages/lexiandev/laravel-motd) +[![Latest Version on Packagist](https://img.shields.io/packagist/v/lexian-droid/laravel-motd.svg?style=flat-square)](https://packagist.org/packages/lexian-droid/laravel-motd) +[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/lexian-droid/laravel-motd/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/lexian-droid/laravel-motd/actions?query=workflow%3Arun-tests+branch%3Amain) +[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/lexian-droid/laravel-motd/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/lexian-droid/laravel-motd/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain) +[![Total Downloads](https://img.shields.io/packagist/dt/lexian-droid/laravel-motd.svg?style=flat-square)](https://packagist.org/packages/lexian-droid/laravel-motd) This is a simple package to display MOTD messages to your users, it can be used to display updates, maintenance messages, or any other message @@ -17,7 +17,7 @@ and it'll return the **newest** message that is not expired. You can install the package via composer: ```bash -composer require lexiandev/laravel-motd +composer require lexian-droid/laravel-motd ``` You can publish and run the migrations with: @@ -72,7 +72,7 @@ Please review [our security policy](../../security/policy) on how to report secu ## Credits -- [Lexian-droid](https://github.com/lexiandev) +- [Lexian-droid](https://github.com/lexian-droid) - [All Contributors](../../contributors) ## License diff --git a/composer.json b/composer.json index 17f40ab..c454ad5 100644 --- a/composer.json +++ b/composer.json @@ -1,12 +1,12 @@ { - "name": "lexiandev/laravel-motd", + "name": "lexian-droid/laravel-motd", "description": "Display MOTD messages to your users.", "keywords": [ - "lexiandev", + "lexian-droid", "laravel", "laravel-motd" ], - "homepage": "https://github.com/lexiandev/laravel-motd", + "homepage": "https://github.com/lexian-droid/laravel-motd", "license": "MIT", "authors": [ { @@ -35,13 +35,13 @@ }, "autoload": { "psr-4": { - "Lexiandev\\Motd\\": "src/", - "Lexiandev\\Motd\\Database\\Factories\\": "database/factories/" + "lexian-droid\\Motd\\": "src/", + "lexian-droid\\Motd\\Database\\Factories\\": "database/factories/" } }, "autoload-dev": { "psr-4": { - "Lexiandev\\Motd\\Tests\\": "tests/", + "lexian-droid\\Motd\\Tests\\": "tests/", "Workbench\\App\\": "workbench/app/" } }, @@ -73,10 +73,10 @@ "extra": { "laravel": { "providers": [ - "Lexiandev\\Motd\\MotdServiceProvider" + "lexian-droid\\Motd\\MotdServiceProvider" ], "aliases": { - "Motd": "Lexiandev\\Motd\\Facades\\Motd" + "Motd": "lexian-droid\\Motd\\Facades\\Motd" } } }, diff --git a/config/motd.php b/config/motd.php index 68bd924..bab4b97 100644 --- a/config/motd.php +++ b/config/motd.php @@ -1,6 +1,6 @@ - + tests diff --git a/src/Commands/MotdCommand.php b/src/Commands/MotdCommand.php index 7aae07c..14a5785 100644 --- a/src/Commands/MotdCommand.php +++ b/src/Commands/MotdCommand.php @@ -1,6 +1,6 @@ in(__DIR__); diff --git a/tests/TestCase.php b/tests/TestCase.php index be908de..60eef35 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -1,9 +1,9 @@ 'Lexiandev\\Motd\\Database\\Factories\\'.class_basename($modelName).'Factory' + fn (string $modelName) => 'lexian-droid\\Motd\\Database\\Factories\\'.class_basename($modelName).'Factory' ); }