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

Pushishing fails #27

Closed
TravisWilder opened this issue Jan 17, 2020 · 3 comments
Closed

Pushishing fails #27

TravisWilder opened this issue Jan 17, 2020 · 3 comments

Comments

@TravisWilder
Copy link

  • Laravel Version: 6.11
  • PHP Version: PHP 7.3.13-1+ubuntu18.04.1+deb.sury.org+1
  • LDAP Type: ActiveDirectory

Description:

after the composer require the publishing is failing

php artisan vendor:publish --provider LdapRecord\Laravel\LdapServiceProvider
Unable to locate publishable resources.
Publishing complete.

when I run php artisan vendor:publish
and select LdapRecord\Laravel\LdapServiceProvider
it works

Copied File [/vendor/directorytree/ldaprecord-laravel/config/ldap.php] To [/config/ldap.php]
Publishing complete.
Publishing complete.

Some happens with

php artisan vendor:publish --provider LdapRecord\Laravel\LdapAuthServiceProvider

where here the DB Migration is not copied (also not with php artisan vendor:publish)

I guess it is not finished for testing yet

@stevebauman
Copy link
Member

Can you wrap LdapRecord\Laravel\LdapServiceProvider in quotes? It works fine for me on Windows, so I think this may be a linux thing.

@stevebauman
Copy link
Member

stevebauman commented Jan 17, 2020

This should work cross platform:

php artisan vendor:publish --provider="LdapRecord\Laravel\LdapServiceProvider"

I'll update my docs!

@TravisWilder
Copy link
Author

yes this works .. so only a docs issue
php artisan vendor:publish --provider="LdapRecord\Laravel\LdapAuthServiceProvider"

works then as well

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