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

Installation issue on L5.6 #103

Open
AEK-BKF opened this issue May 2, 2018 · 3 comments
Open

Installation issue on L5.6 #103

AEK-BKF opened this issue May 2, 2018 · 3 comments

Comments

@AEK-BKF
Copy link

AEK-BKF commented May 2, 2018

Hi,
Thanks for this nice package,

I tried to install the package, but :
php artisan vendor:publish --provider="Hootlex\Friendships\FriendshipsServiceProvider"
doesn't work !
So I copy config and migration files manually, and I had to rename the friendship creation table before the group one.
I works fine !
Try to fix it :)

@stephane-monnot
Copy link
Contributor

Have you included the service provider inside config/app.php.

'providers' => [
    ...
    Hootlex\Friendships\FriendshipsServiceProvider::class,
    ...
];

@AEK-BKF
Copy link
Author

AEK-BKF commented May 2, 2018

AH ok! I thought no need for that because I'm using Laravel 5.6.20 !
Thanks :)

@stephane-monnot
Copy link
Contributor

I made a pull request to add auto discovery 1 hour ago (Auto discovery PR). I think @hootlex will review soon.

if you want to check if a package is "auto-discovery ready", you can check the composer.json.
It's "auto-discovery ready" if you can see :

"extra": {
        "laravel": {
            "providers": [
                "Namespace\\Of\\PackageServiceProvider"
            ]
        }
    },

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

2 participants