json-diff icon indicating copy to clipboard operation
json-diff copied to clipboard

Class "Swaggest\JsonDiff\JsonDiff" not found

Open Messhias opened this issue 3 years ago • 0 comments

local.ERROR: Class "Swaggest\JsonDiff\JsonDiff" not found {"exception":"[object] (Error(code: 0): Class "Swaggest\JsonDiff\JsonDiff" not found at

Composer.json:

{
  "name": "laravel/laravel",
  "type": "project",
  "description": "The Laravel Framework.",
  "keywords": [
	"framework",
	"laravel"
  ],
  "license": "MIT",
  "require": {
    "php": "^8.1",
    "ext-curl": "*",
    "ext-json": "*",
    "ext-openssl": "*",
    "ext-pdo": "*",
    "aws/aws-sdk-php-laravel": "~3.0",
    "darkaonline/l5-swagger": "^8.0",
    "doctrine/dbal": "^3.1",
    "fruitcake/laravel-cors": "^3.0",
    "gamegos/jws": "^1.0",
    "goetas-webservices/xsd-reader": "^0.3.6",
    "guzzlehttp/guzzle": "^7.0.1",
    "intervention/image": "^2.5",
    "laravel/framework": "^9.0",
    "laravel/octane": "^1.2",
    "laravel/telescope": "^4.7",
    "laravel/tinker": "^2.5",
    "league/flysystem-aws-s3-v3": "^3.0",
    "maatwebsite/excel": "^3.1",
    "monarobase/country-list": "^3.2",
    "namshi/jose": "^7.2",
    "owen-it/laravel-auditing": "^13.0",
    "php-open-source-saver/jwt-auth": "^2.0",
    "phpseclib/phpseclib": "^3.0",
    "predis/predis": "^2.0",
    "pusher/pusher-php-server": "^7.0",
    "s-ichikawa/laravel-sendgrid-driver": "^4.0",
    "scotteh/php-goose": "^1.1",
    "sentry/sentry-laravel": "^2.11",
    "spatie/laravel-ignition": "^1.0",
    "spatie/laravel-permission": "^5.5",
    "swaggest/json-diff": "^3.9",
    "thedoctor0/laravel-mailjet-driver": "2.0.0",
    "twilio/sdk": "^6.34",
    "vlucas/phpdotenv": "^5.2",
    "voku/portable-utf8": "^6.0",
    "voku/simple_html_dom": "^4.7",
    "zircote/swagger-php": "^4.4"
  },
  "require-dev": {
    "barryvdh/laravel-ide-helper": "^2.9",
    "fakerphp/faker": "^1.13",
    "kitloong/laravel-migrations-generator": "^6.0",
    "mockery/mockery": "^1.3.1",
    "nunomaduro/collision": "^6.1",
    "nunomaduro/larastan": "^2.0",
    "nunomaduro/phpinsights": "^2.4",
    "phpunit/phpunit": "^9.5",
    "rector/rector": "^0.14.0"
  },
  "config": {
	"optimize-autoloader": true,
	"preferred-install": "dist",
	"sort-packages": true,
    "allow-plugins": {
      "dealerdirect/phpcodesniffer-composer-installer": true
    }
  },
  "extra": {
	"laravel": {
	  "dont-discover": [
		"laravel/dusk"
	  ]
	}
  },
  "autoload": {
	"psr-4": {
	  "App\\": "app/",
	  "Database\\Factories\\": "database/factories/",
	  "Database\\Seeders\\": "database/seeds"
	},
	"classmap": [
	  "database/seeds"
	],
	"files": [
	  "app/helpers.php"
	]
  },
  "autoload-dev": {
	"psr-4": {
	  "Tests\\": "tests/"
	}
  },
  "minimum-stability": "dev",
  "prefer-stable": true,
  "scripts": {
	"post-autoload-dump": [
	  "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump"
	],
	"post-root-package-install": [
	  "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
	],
	"post-create-project-cmd": [
	  "@php artisan key:generate --ansi"
	],
	"phpstan": "phpstan analyse --ansi",
	"rector": "rector process app --ansi",
	"insights": "./vendor/bin/phpinsights --no-interaction"
  }
}

The import:

use Swaggest\JsonDiff\JsonDiff;

Messhias avatar Oct 07 '22 09:10 Messhias