alaouy / YouTube

🔥 Laravel PHP Facade/Wrapper for the Youtube Data API
MIT License
778 stars 204 forks source link

Upload Video to Youtube #147

Closed vsmartcode closed 3 years ago

vsmartcode commented 4 years ago

I know the package does not support upload video to youtube and I find that the joedawson / youtube package supports this feature so can I use both packages together? I see that both of our Faces are "Youtube", so does it conflict?

Korko commented 4 years ago

Not sure about how Laravel handles conflict in aliases auto discovery but you may be able to use both at the same time. The only limitation is that you may not use use Youtube; in the header but use Alaouy\Youtube\Facades\Youtube; and use Dawson\Youtube\Facades\Youtube as YoutubeUpload;

Edit: The conflict should be handled by redefinition, the last component imported overrides the previous ones. So prefer not using the alias, especially as the app.aliases config is overrided by the auto discovery so no way to force it properly.