Laravel-Backpack/MenuCRUD

Composer install / update / self-update warning

tabacitu opened this issue · 2 comments

Bug report

If you've installed MenuCRUD as a package using our docs, a composer update , composer require or composer self-update might trigger the following warning:

Deprecation warning: require.backpack/MenuCRUD is invalid, it should not contain uppercase characters. Please use backpack/menucrud instead. Make sure you fix this as Composer 2.0 will error.

This is because in your project's composer.json, in the require section, MenuCRUD is required with uppercase letters. Just change it with backpack/menucrud and the error will go away.

So your change might looks something like this:

    "require": {
        "php": ">=7.0",
        "laravel/framework": "5.6.*",
        "fideloper/proxy": "^4.0",
        "backpack/base": "^1.0.0",
        "backpack/crud": "^3.5",
        "backpack/backupmanager": "^1.1",
        "backpack/logmanager": "^2.3",
        "backpack/settings": "^2.0",
        "backpack/pagemanager": "^1.1",
-       "backpack/MenuCRUD": "^1.0",
+       "backpack/menucrud": "^1.0",
        "backpack/newscrud": "^2.1",
        "backpack/permissionmanager": "4.0.*",
        "spatie/laravel-translatable": "^2.1",
        "barryvdh/laravel-elfinder": "^0.3.12",
        "joggapp/laravel-mail-viewer": "^3.1"
    },

thanks so much