From 5fbc7af672a83d6ca87e6cc111f6740587a96ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=CC=88nther=20Debrauwer?= Date: Thu, 26 Sep 2024 13:19:23 +0200 Subject: [PATCH] Replace 'next apps' with 'wotz' --- CHANGELOG.md | 14 +++++++------- README.md | 9 ++++----- composer.json | 24 ++++++++---------------- src/UniqueCodes.php | 2 +- tests/UniqueCodesTest.php | 4 ++-- 5 files changed, 22 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f705e74..796562b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,31 +4,31 @@ All notable changes to `unique-codes` will be documented in this file ## 2.3.2 - 2024-05-13 -- Fixed: Implicit conversion deprecation warning when converting float to int ([#ebd6914](https://github.com/nextapps-be/unique-codes/commit/ebd6914f7bf1c843a9cf5ab888e454503400db22)) +- Fixed: Implicit conversion deprecation warning when converting float to int ([#ebd6914](https://github.com/wotzebra/unique-codes/commit/ebd6914f7bf1c843a9cf5ab888e454503400db22)) ## 2.3.1 - 2024-05-13 -- Fixed: Implicit conversion deprecation warning when converting float to int ([#12](https://github.com/nextapps-be/unique-codes/pull/12)) +- Fixed: Implicit conversion deprecation warning when converting float to int ([#12](https://github.com/wotzebra/unique-codes/pull/12)) ## 2.3.0 - 2023-12-15 -- Added: PHP 8.3 support ([#11](https://github.com/nextapps-be/unique-codes/pull/11)) +- Added: PHP 8.3 support ([#11](https://github.com/wotzebra/unique-codes/pull/11)) ## 2.2.0 - 2023-02-19 -- Add PHP 8.2 support ([#10](https://github.com/nextapps-be/unique-codes/pull/10)) +- Add PHP 8.2 support ([#10](https://github.com/wotzebra/unique-codes/pull/10)) ## 2.1.0 - 2022-02-24 -- Add PHP 8.1 support ([#7](https://github.com/nextapps-be/unique-codes/pull/7)) +- Add PHP 8.1 support ([#7](https://github.com/wotzebra/unique-codes/pull/7)) ## 2.0.0 - 2021-02-03 -- Fixed bugs that could cause duplicate code generation (and added more tests) ([#3](https://github.com/nextapps-be/unique-codes/pull/3), [#4](https://github.com/nextapps-be/unique-codes/pull/4)) +- Fixed bugs that could cause duplicate code generation (and added more tests) ([#3](https://github.com/wotzebra/unique-codes/pull/3), [#4](https://github.com/wotzebra/unique-codes/pull/4)) ## 1.1.0 - 2021-01-19 -- Add PHP 8 support and switch to Github actions ([#1](https://github.com/nextapps-be/unique-codes/pull/1)) +- Add PHP 8 support and switch to Github actions ([#1](https://github.com/wotzebra/unique-codes/pull/1)) ## 1.0.0 - 2020-04-19 diff --git a/README.md b/README.md index 2d42169..fd2ba78 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # Unique Codes -[![Latest Version on Packagist](https://img.shields.io/packagist/v/nextapps/unique-codes.svg?style=flat-square)](https://packagist.org/packages/nextapps/unique-codes) -[![Total Downloads](https://img.shields.io/packagist/dt/nextapps/unique-codes.svg?style=flat-square)](https://packagist.org/packages/nextapps/unique-codes) +[![Latest Version on Packagist](https://img.shields.io/packagist/v/wotz/unique-codes.svg?style=flat-square)](https://packagist.org/packages/wotz/unique-codes) +[![Total Downloads](https://img.shields.io/packagist/dt/wotz/unique-codes.svg?style=flat-square)](https://packagist.org/packages/wotz/unique-codes) This package generates unique, random-looking codes. These codes can be used for vouchers, coupons, ... You can now generate thousands or millions of codes without having to check if a code has already been generated in the past. ``` php -use NextApps\UniqueCodes\UniqueCodes; +use Wotz\UniqueCodes\UniqueCodes; // Generate 100 unique codes for numbers 1 to 100 $codes = (new UniqueCodes()) @@ -25,7 +25,7 @@ $codes = (new UniqueCodes()) You can install the package via composer: ```bash -composer require nextapps/unique-codes +composer require wotz/unique-codes ``` > Do not use v1 of this package, as it contains bugs. If you currently use v1, you should upgrade to v2 (Read the upgrading guide!). @@ -128,7 +128,6 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details. ## Credits - [Günther Debrauwer](https://github.com/gdebrauwer) -- [Evert Arnould](https://github.com/earnould) - [All Contributors](../../contributors) This package is heavily inspired by 2 articles written by Jim Mischel: diff --git a/composer.json b/composer.json index 893723c..daca3a1 100644 --- a/composer.json +++ b/composer.json @@ -1,26 +1,18 @@ { - "name": "nextapps/unique-codes", + "name": "wotz/unique-codes", "description": "Generate unique, random-looking codes", "keywords": [ - "nextapps", - "unique-codes", - "vouchers", - "coupons" + "unique codes", + "voucher codes", + "coupon codes" ], - "homepage": "https://github.com/nextapps-be/unique-codes", + "homepage": "https://github.com/wotzebra/unique-codes", "license": "MIT", "type": "library", "authors": [ { "name": "Günther Debrauwer", - "email": "gunther@nextapps.be", - "homepage": "https://nextapps.be", - "role": "Developer" - }, - { - "name": "Evert Arnould", - "email": "evert@nextapps.be", - "homepage": "https://nextapps.be", + "email": "gunther.debrauwer@whoownsthezebra.be", "role": "Developer" } ], @@ -35,12 +27,12 @@ }, "autoload": { "psr-4": { - "NextApps\\UniqueCodes\\": "src" + "Wotz\\UniqueCodes\\": "src" } }, "autoload-dev": { "psr-4": { - "NextApps\\UniqueCodes\\Tests\\": "tests" + "Wotz\\UniqueCodes\\Tests\\": "tests" } }, "scripts": { diff --git a/src/UniqueCodes.php b/src/UniqueCodes.php index 8de2d85..ebfa2bb 100644 --- a/src/UniqueCodes.php +++ b/src/UniqueCodes.php @@ -1,6 +1,6 @@