diff --git a/.gitignore b/.gitignore index 35252038..b79dabab 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /app/error/ /app/lab/ /system/que/cache/ +composer.lock diff --git a/app/composer.json b/app/composer.json deleted file mode 100644 index d2b6b73c..00000000 --- a/app/composer.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "require": { - "iamwizzdom/netty-finder-php": "^1.0", - "ext-json": "*", - "ext-pdo": "*", - "ext-mysqli": "*", - "ext-memcache": "*", - "ext-redis": "*", - "ext-openssl": "*", - "ext-zlib": "*", - "ext-fileinfo": "*", - "ext-gd": "*", - "ext-memcached": "*", - "ext-apache": "*", - "ext-bcmath": "*", - "ext-curl": "*", - "ext-tidy": "*" - } -} diff --git a/app/composer.lock b/app/composer.lock deleted file mode 100644 index f777d38b..00000000 --- a/app/composer.lock +++ /dev/null @@ -1,68 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "57db372b688f0836145973eb71920d70", - "packages": [ - { - "name": "iamwizzdom/netty-finder-php", - "version": "1.0", - "source": { - "type": "git", - "url": "https://github.com/iamwizzdom/netty-finder-php.git", - "reference": "f6f98069fb949767ec7d26c6326c61bced6b5d77" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/iamwizzdom/netty-finder-php/zipball/f6f98069fb949767ec7d26c6326c61bced6b5d77", - "reference": "f6f98069fb949767ec7d26c6326c61bced6b5d77", - "shasum": "" - }, - "require": { - "php": "~7.0" - }, - "require-dev": { - "phpunit/phpunit": "^6.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Netty\\": "src/Netty" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Wisdom Emenike", - "email": "wisdomemenike70@gmail.com", - "homepage": "http://wizdom.dev", - "role": "Developer" - } - ], - "description": "Check a Nigerian telephone number and detect which network it belongs to.", - "keywords": [ - "check network", - "find network", - "netty", - "netty finder", - "netty-finder", - "nigerian networks", - "phone number checker" - ], - "time": "2020-04-09T23:38:09+00:00" - } - ], - "packages-dev": [], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": false, - "prefer-lowest": false, - "platform": [], - "platform-dev": [] -} diff --git a/app/config/config.php b/app/config/config.php index 86c1d453..14786fc1 100644 --- a/app/config/config.php +++ b/app/config/config.php @@ -22,7 +22,7 @@ const AUTOLOAD_CACHE_PATH = (QUE_PATH . '/cache'); const AUTOLOAD_REQUIRE = [ - APP_PATH . '/vendor/autoload.php', + APP_ROOT_PATH . '/vendor/autoload.php', QUE_PATH . '/vendor/autoload.php', QUE_PATH . '/constants.php', QUE_PATH . '/functions.php', diff --git a/composer.json b/composer.json new file mode 100644 index 00000000..6a23e913 --- /dev/null +++ b/composer.json @@ -0,0 +1,31 @@ +{ + "name": "iamwizzdom/que", + "type": "project", + "description": "The Que Framework.", + "keywords": ["que", "php", "framework"], + "license": "MIT", + "require": { + "php": "^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.5.10" + }, + "autoload": { + "psr-4": { + } + }, + "autoload-dev": { + "psr-4": { + "Tests\\": "tests/" + } + }, + "scripts": { + }, + "config": { + "optimize-autoloader": true, + "preferred-install": "dist", + "sort-packages": true + }, + "minimum-stability": "dev", + "prefer-stable": true +} \ No newline at end of file