vendredi 3 janvier 2020

Laravel package:discover show only half packages

After migrate laravel project to domain @php artisan package:discover shows only half of packages

php artisan cache:clear; php artisan config:clear; composer dump-autoload all used

after project migration are there other possible commands or is enough php artisan key:generate and add .env database access ?

I quess not all packages work.

composer.json:

"require": {
    "php": ">=7.1.3",
    "alaouy/youtube": "^2.2",
    "anhskohbo/no-captcha": "3.*",
    "anlutro/l4-settings": "^0.4.6",
    "aws/aws-sdk-php": "^3.130",
    "aws/aws-sdk-php-laravel": "^3.4",
    "components/jquery": "^3.3",
    "components/jqueryui": "^1.12",
    "danielstjules/stringy": "^3.1",
    "fideloper/proxy": "~4.0",
    "hashids/hashids": "^3.0",
    "hazestudio/laravel-gopay-sdk": "^0.1.5",
    "illuminate/support": "5.7.0",
    "intervention/image": "^2.3",
    "jenssegers/agent": "^2.5",
    "laracasts/presenter": "^0.2.1",
    "laravel/framework": "^5.7.0",
    "laravel/socialite": "^3.0",
    "laravelcollective/html": "^5.1",
    "league/fractal": "^0.16.0",
    "mpdf/mpdf": "^7.0",
    "paragonie/random_compat": "~1.4",
    "predis/predis": "^1.1",
    "proengsoft/laravel-jsvalidation": "2.3.*",
    "tymon/jwt-auth": "1.0.0-rc.3",
    "webpatser/laravel-countries": "dev-master"
},
"require-dev": {
    "barryvdh/laravel-debugbar": "^3.2",
    "barryvdh/laravel-ide-helper": "2.5.*",
    "filp/whoops": "~2.0",
    "fzaninotto/faker": "~1.4",
    "laracasts/generators": "^1.1",
    "laravel/browser-kit-testing": "^4.0",
    "mockery/mockery": "0.9.*",
    "phpunit/phpunit": "~7.0",
    "symfony/css-selector": "~4.0",
    "symfony/dom-crawler": "~4.0"
},
"autoload": {
    "classmap": [
        "database/seeds",
        "database/factories"
    ],
    "psr-4": {
        "Vanguard\\": "app/"
    },
    "files": [
        "app/Support/helpers.php"
    ]
},
"autoload-dev": {
    "psr-4": {
        "Tests\\": "tests/"
    }
},
"extra": {
    "laravel": {
        "dont-discover": [
        ]
    }
},
"scripts": {
    "post-root-package-install": [
        "@php -r \"copy('.env.example', '.env');\""
    ],
    "post-create-project-cmd": [
        "@php artisan key:generate"
    ],

    "post-autoload-dump": [
        "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
        "@php artisan package:discover"
    ]
},
"config": {
    "preferred-install": "dist",
    "sort-packages": true,
    "optimize-autoloader": true
}

}

php artisan package:discover

Discovered Package: alaouy/youtube
Discovered Package: anhskohbo/no-captcha
Discovered Package: aws/aws-sdk-php-laravel
Discovered Package: barryvdh/laravel-debugbar
Discovered Package: barryvdh/laravel-ide-helper
Discovered Package: fideloper/proxy
Discovered Package: intervention/image
Discovered Package: jenssegers/agent
Discovered Package: laracasts/generators
Discovered Package: laravel/socialite
Discovered Package: laravelcollective/html
Discovered Package: nesbot/carbon
Discovered Package: proengsoft/laravel-jsvalidation
Discovered Package: tymon/jwt-auth
Discovered Package: webpatser/laravel-countries
Package manifest generated successfully.

Why arent discovered all of them ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire