Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 5.6 auto discovery not working #8

Open
steve-rhodes opened this issue Feb 14, 2018 · 1 comment
Open

Laravel 5.6 auto discovery not working #8

steve-rhodes opened this issue Feb 14, 2018 · 1 comment

Comments

@steve-rhodes
Copy link

steve-rhodes commented Feb 14, 2018

Wanted to try your package, but couldn't get it working. Got an error that the connector for sqsfifo wasn't found.

I can see that package in the composer.json, but when php artisan package:discover runs, I can't see it there.

>composer require maqe/laravel-sqs-fifo
Using version ^0.1.0 for maqe/laravel-sqs-fifo
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Discovered Package: barryvdh/laravel-debugbar
Discovered Package: barryvdh/laravel-dompdf
Discovered Package: barryvdh/laravel-ide-helper
Discovered Package: fideloper/proxy
Discovered Package: intervention/image
Discovered Package: jenssegers/agent
Discovered Package: laravel/scout
Discovered Package: laravel/tinker
Discovered Package: neoxia/laravel-sftp
Discovered Package: nunomaduro/collision
Package manifest generated successfully.

@steve-rhodes
Copy link
Author

I just looked at the composer.json in the vendor file and it's not the same as in your composer.json on github.

I did what your instructions said:
composer require maqe/laravel-sqs-fifo

but the composer.json of the package has no autodiscovery info.

It looks like this:

{
    "name": "maqe/laravel-sqs-fifo",
    "description": "Laravel package that enables support for SQS FIFO Queue",
    "keywords": ["queue", "job", "laravel", "sqs", "fifo"],
    "license": "MIT",
    "authors": [
        {
            "name": "MAQE team",
            "email": "[email protected]",
            "homepage": "https://www.maqe.com/"
        }
    ],
    "require": {
        "php": ">=5.5.9",
        "illuminate/queue": "~5.1",
        "illuminate/support": "~5.1",
        "aws/aws-sdk-php": "~3.0"
    },
    "require-dev": {
        "phpunit/phpunit" : "~4.0"
    },
    "autoload": {
        "psr-4": {
            "Maqe\\LaravelSqsFifo\\": "src/",
            "Maqe\\LaravelSqsFifo\\Tests\\": "tests/"
        }
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant