From dad19a4903db882dcf62f7b3f6e79130f7914a17 Mon Sep 17 00:00:00 2001 From: Thibault Debatty <t.debatty@cylab.be> Date: Sun, 6 Aug 2023 17:25:54 +0200 Subject: [PATCH] remove mongodb extension and add larvel debugbar for dev --- .gitignore | 1 + composer.json | 2 +- composer.lock | 222 ++++++++++++++++++++++++++++++++++---------------- 3 files changed, 154 insertions(+), 71 deletions(-) diff --git a/.gitignore b/.gitignore index e25e7e2..4295c09 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ /public/hot /public/storage /storage/*.key +/storage/debugbar/ /vendor /.idea /.vagrant diff --git a/composer.json b/composer.json index 7c22e2e..130f956 100644 --- a/composer.json +++ b/composer.json @@ -12,10 +12,10 @@ "laravel/framework": "^6.0", "laravel/helpers": "^1.2", "laravel/tinker": "~1.0", - "mongodb/mongodb": "1.3.*", "php-ai/php-ml": "^0.9.0" }, "require-dev": { + "barryvdh/laravel-debugbar": "^3.6", "barryvdh/laravel-ide-helper": "^2.5", "filp/whoops": "~2.0", "fzaninotto/faker": "~1.4", diff --git a/composer.lock b/composer.lock index 5b37079..23b9682 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f6900ac2f3d3c248c5790b4b1c0cac3e", + "content-hash": "222e778e6cec26a1cdb302a9f01af1d9", "packages": [ { "name": "dnoegel/php-xdg-base-dir", @@ -1657,75 +1657,6 @@ ], "time": "2023-08-03T07:14:11+00:00" }, - { - "name": "mongodb/mongodb", - "version": "1.3.2", - "source": { - "type": "git", - "url": "https://github.com/mongodb/mongo-php-library.git", - "reference": "b9f35916125976533f4b1e67a4a0ee7baf1d3bb9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/mongodb/mongo-php-library/zipball/b9f35916125976533f4b1e67a4a0ee7baf1d3bb9", - "reference": "b9f35916125976533f4b1e67a4a0ee7baf1d3bb9", - "shasum": "" - }, - "require": { - "ext-hash": "*", - "ext-json": "*", - "ext-mongodb": "^1.4.0", - "php": ">=5.5" - }, - "require-dev": { - "phpunit/phpunit": "^4.8.36 || ^6.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3.x-dev" - } - }, - "autoload": { - "files": [ - "src/functions.php" - ], - "psr-4": { - "MongoDB\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Jeremy Mikola", - "email": "jmikola@gmail.com" - }, - { - "name": "Derick Rethans", - "email": "github@derickrethans.nl" - }, - { - "name": "Katherine Walker", - "email": "katherine.walker@mongodb.com" - } - ], - "description": "MongoDB driver library", - "homepage": "https://jira.mongodb.org/browse/PHPLIB", - "keywords": [ - "database", - "driver", - "mongodb", - "persistence" - ], - "support": { - "issues": "https://github.com/mongodb/mongo-php-library/issues", - "source": "https://github.com/mongodb/mongo-php-library/tree/v1.3" - }, - "time": "2018-04-19T17:20:30+00:00" - }, { "name": "monolog/monolog", "version": "2.9.1", @@ -4931,6 +4862,91 @@ } ], "packages-dev": [ + { + "name": "barryvdh/laravel-debugbar", + "version": "v3.6.8", + "source": { + "type": "git", + "url": "https://github.com/barryvdh/laravel-debugbar.git", + "reference": "814b36a08a60f4159cdcbb1c466a6a0027440b6c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/814b36a08a60f4159cdcbb1c466a6a0027440b6c", + "reference": "814b36a08a60f4159cdcbb1c466a6a0027440b6c", + "shasum": "" + }, + "require": { + "illuminate/routing": "^6|^7|^8|^9", + "illuminate/session": "^6|^7|^8|^9", + "illuminate/support": "^6|^7|^8|^9", + "maximebf/debugbar": "^1.17.2", + "php": ">=7.2", + "symfony/debug": "^4.3|^5|^6", + "symfony/finder": "^4.3|^5|^6" + }, + "require-dev": { + "mockery/mockery": "^1.3.3", + "orchestra/testbench-dusk": "^4|^5|^6|^7", + "phpunit/phpunit": "^8.5|^9.0", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.6-dev" + }, + "laravel": { + "providers": [ + "Barryvdh\\Debugbar\\ServiceProvider" + ], + "aliases": { + "Debugbar": "Barryvdh\\Debugbar\\Facades\\Debugbar" + } + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Barryvdh\\Debugbar\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "PHP Debugbar integration for Laravel", + "keywords": [ + "debug", + "debugbar", + "laravel", + "profiler", + "webprofiler" + ], + "support": { + "issues": "https://github.com/barryvdh/laravel-debugbar/issues", + "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.6.8" + }, + "funding": [ + { + "url": "https://fruitcake.nl", + "type": "custom" + }, + { + "url": "https://github.com/barryvdh", + "type": "github" + } + ], + "time": "2022-06-08T15:03:05+00:00" + }, { "name": "barryvdh/laravel-ide-helper", "version": "v2.8.2", @@ -5785,6 +5801,72 @@ }, "time": "2022-04-13T08:02:27+00:00" }, + { + "name": "maximebf/debugbar", + "version": "v1.18.2", + "source": { + "type": "git", + "url": "https://github.com/maximebf/php-debugbar.git", + "reference": "17dcf3f6ed112bb85a37cf13538fd8de49f5c274" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/17dcf3f6ed112bb85a37cf13538fd8de49f5c274", + "reference": "17dcf3f6ed112bb85a37cf13538fd8de49f5c274", + "shasum": "" + }, + "require": { + "php": "^7.1|^8", + "psr/log": "^1|^2|^3", + "symfony/var-dumper": "^4|^5|^6" + }, + "require-dev": { + "phpunit/phpunit": ">=7.5.20 <10.0", + "twig/twig": "^1.38|^2.7|^3.0" + }, + "suggest": { + "kriswallsmith/assetic": "The best way to manage assets", + "monolog/monolog": "Log using Monolog", + "predis/predis": "Redis storage" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.18-dev" + } + }, + "autoload": { + "psr-4": { + "DebugBar\\": "src/DebugBar/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Maxime Bouroumeau-Fuseau", + "email": "maxime.bouroumeau@gmail.com", + "homepage": "http://maximebf.com" + }, + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "Debug bar in the browser for php application", + "homepage": "https://github.com/maximebf/php-debugbar", + "keywords": [ + "debug", + "debugbar" + ], + "support": { + "issues": "https://github.com/maximebf/php-debugbar/issues", + "source": "https://github.com/maximebf/php-debugbar/tree/v1.18.2" + }, + "time": "2023-02-04T15:27:00+00:00" + }, { "name": "mockery/mockery", "version": "1.3.6", -- GitLab