diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..5990d9c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" diff --git a/composer.json b/composer.json index 0d928d2..8e2cdd4 100755 --- a/composer.json +++ b/composer.json @@ -1,7 +1,12 @@ { "name": "jeremykenedy/laravel-users", "description": "Laravel Users Management CRUD Package", - "keywords": ["laravel", "users", "management", "CRUD"], + "keywords": [ + "laravel", + "users", + "management", + "CRUD" + ], "license": "MIT", "type": "package", "authors": [ @@ -11,8 +16,8 @@ } ], "require": { - "php": ">=7.1.3", - "laravelcollective/html": "^5.4|^5.5|^5.6|^5.7|^5.8|^6.0|^7.0" + "php": "^7.2|^8.0|^8.1|^8.2|^8.3", + "laravellux/html": "^7.1" }, "autoload": { "psr-4": { @@ -24,12 +29,6 @@ "jeremykenedy\\laravelusers\\Test\\": "tests/" } }, - "require-dev": { - "orchestra/testbench": "^5.2", - "laravel/tinker": "^2.4", - "illuminate/support": "^7.12", - "laravel/laravel": "^7.12" - }, "extra": { "laravel": { "providers": [ diff --git a/readme.md b/readme.md index 428dd4b..0d3af5b 100755 --- a/readme.md +++ b/readme.md @@ -41,7 +41,7 @@ Easily start creating, updating, editing, and deleting users in minutes with min ### Requirements -* [Laravel 5.2, 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6, or 7+](https://laravel.com/docs/installation) +* [Laravel 5.2, 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6, 7, or 8+](https://laravel.com/docs/installation) ### Integrations Laravel users can work out the box with or without the following roles packages: @@ -53,7 +53,7 @@ Laravel users can work out the box with or without the following roles packages: ### Installation Instructions 1. From your projects root folder in terminal run: - Laravel 5.6, 5.7, and 5.8+ use: + Laravel 5.6, 5.7, 5.8, 6, 7, and 8+ use: ``` composer require jeremykenedy/laravel-users @@ -83,7 +83,7 @@ Laravel users can work out the box with or without the following roles packages: ``` 2. Register Package -* Laravel 5.5, 5.6, and 5.7+ +* Laravel 5.5, 5.6, 5.7, 5.8, 6, 7, 8+ Uses package auto discovery feature, no need to edit the `config/app.php` file. * Laravel 5.4 and below @@ -298,7 +298,7 @@ laravel-users/ ### Opening an Issue Before opening an issue there are a couple of considerations: -* A **star** on this project shows support and is way to say thank you to all the contributors. If you open an issue without a star, *your issue may be closed without consideration.* Thank you for understanding and the support. You are all awesome! +* You are all awesome! * **Read the instructions** and make sure all steps were *followed correctly*. * **Check** that the issue is not *specific to your development environment* setup. * **Provide** *duplication steps*. diff --git a/src/App/Http/Controllers/UsersManagementController.php b/src/App/Http/Controllers/UsersManagementController.php index e275160..645da34 100755 --- a/src/App/Http/Controllers/UsersManagementController.php +++ b/src/App/Http/Controllers/UsersManagementController.php @@ -200,7 +200,7 @@ public function update(Request $request, $id) ]; if ($emailCheck) { - $rules['email'] = 'required|email|max:255|unique:users|alpha_dash'; + $rules['email'] = 'required|email|max:255|unique:users'; } if ($passwordCheck) {