Skip to content

Commit

Permalink
Merge pull request #2 from veeqtoh/Upgrade-for-laravel-11-compatibility
Browse files Browse the repository at this point in the history
Upgrade to Laravel 11.* and PHP 8.* with Code Format Enhancements
  • Loading branch information
veeqtoh authored May 4, 2024
2 parents 2ef8fae + d3356f0 commit 03b7782
Show file tree
Hide file tree
Showing 51 changed files with 1,433 additions and 7,911 deletions.
24 changes: 3 additions & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,4 @@
/.phpunit.cache
/node_modules
/public/build
/public/hot
/public/storage
/storage/*.key
/vendor
/packages/acme/door-access/vendor
.env
.env.backup
.env.production
.phpunit.result.cache
Homestead.json
Homestead.yaml
auth.json
npm-debug.log
yarn-error.log
/.fleet
/.idea
/.vscode
.idea/
vendor/
composer.lock
phpcs.xml
/.phpunit.cache
1 change: 1 addition & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
preset: laravel
40 changes: 0 additions & 40 deletions Config/config.php

This file was deleted.

19 changes: 0 additions & 19 deletions Config/rules.php

This file was deleted.

48 changes: 0 additions & 48 deletions DoorAccessServiceProvider.php

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Generate a door access code using the `CodeGenerator` class:
<?php

use Veeqtoh\DoorAccess\CodeGenerator;
use Veeqtoh\DoorAccess\Provider\ConfigProvider;
use Veeqtoh\DoorAccess\Providers\ConfigProvider;

// Create an instance of ConfigProvider
$configProvider = new ConfigProvider();
Expand Down
75 changes: 54 additions & 21 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,74 @@
{
"name": "veeqtoh/door-access",
"description": "Secure door access system for Acme Ltd, providing unique and random 6-digit codes for team members, adhering to strict security criteria and efficient code management.",
"description": "A Laravel package for creating secure door access systems, providing unique and random 6-digit codes for team members.",
"type": "library",
"scripts": {
"test": "vendor/bin/phpunit tests"
},
"homepage": "https://github.com/veeqtoh/door-access",
"license": "MIT",
"authors": [
{
"name": "Victor Ukam",
"email": "[email protected]"
}
],
"keywords": [
"veeqtoh",
"victor-ukam",
"door-access",
"secure-access",
"unique-codes",
"persistent-codes",
"random-code-allocation",
"clock-in",
"clock-out",
"palindrome",
"repeated characters",
"unique characters",
"laravel",
"laravel-package"
],
"require": {
"php": "^8.1.2",
"laravel/framework": "^8.0",
"ramsey/uuid": "^4.0"
"php": "^8.1",
"nesbot/carbon": "^2.0|^3.0",
"illuminate/container": "^10.0|^11.0",
"illuminate/database": "^10.0|^11.0",
"ramsey/uuid": "^4.0",
"ashallendesign/laravel-config-validator": "^2.6.1"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"mockery/mockery": "^1.0",
"filp/whoops": "^2.0",
"friendsofphp/php-cs-fixer": "^3.0",
"squizlabs/php_codesniffer": "^3.6",
"phpunit/php-code-coverage": "^9.0"
"orchestra/testbench": "^8.0|^9.0",
"phpunit/phpunit": "^10.0|^11.0",
"larastan/larastan": "^2.0",
"pestphp/pest-plugin-laravel": "^2.3"
},
"license": "MIT",
"autoload": {
"psr-4": {
"Veeqtoh\\DoorAccess\\": "src/"
}
},
"authors": [
{
"name": "Victor Ukam",
"email": "[email protected]"
"autoload-dev": {
"psr-4": {
"Veeqtoh\\DoorAccess\\Tests\\": "tests/"
}
],
"minimum-stability": "stable",
},
"extra": {
"laravel": {
"providers": [
"Veeqtoh\\DoorAccess\\DoorAccessServiceProvider"
]
"Veeqtoh\\DoorAccess\\Providers\\DoorAccessProvider"
],
"aliases": {
"DoorAccess": "Veeqtoh\\DoorAccess\\Facades\\DoorAccess"
}
}
},
"scripts": {
"test": "vendor/bin/pest"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
}
}
Loading

0 comments on commit 03b7782

Please sign in to comment.