socialiteproviders / generators Goto Github PK
View Code? Open in Web Editor NEWArtisan Generators for OAuth1/OAuth2 Providers
License: MIT License
Artisan Generators for OAuth1/OAuth2 Providers
License: MIT License
Hi,
Can we please issue a 4.3 release that includes the laravel 5.8 fix? I tested using dev-master and everything appears to be working correctly.
I may be wrong on this, this is really my first dive into composer packages, but the PSR-4 line generated by the console command to insert into Laravel's composer.json is wrong.
The folder structure on disk is /SocialiteProviders/src/{{provider_name}}
but the composer file gets written out to SocialiteProviders\\{{$provider_name}}\\
$contents['autoload']['psr-4']["SocialiteProviders\\$providerName\\"] = "SocialiteProviders/$providerName/";
Should be
$contents['autoload']['psr-4']["SocialiteProviders\\$providerName\\"] = "SocialiteProviders/src/$providerName/";
I had to change my composer.json to get composer dumpautoload
to work after adding my provider to the EventServiceProvider.php
listener for the SocialiteWasCalled
event. This might just be a n00b thing for me but figured it didn't hurt to check.
I feel like the readme is missing the crucial step for using the provider in an app. How is this accomplished?
When run php artisan make:socialite
on Laravel 6.0, the error below occurred.
That is caused by that study_case()
helper has changed to Str::studly()
from Laravel 6.0. Maybe some helpers have to be changed to new helpers. (str_contains()
also)
Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined function SocialiteProviders\Generators\Contexts\studly_case()
at /var/www/html/vendor/socialiteproviders/generators/src/Contexts/Stub.php:56
52| * @return string
53| */
54| public function nameStudlyCase()
55| {
> 56| return studly_case($this->properties->get('name'));
57| }
58|
59| /**
60| * Name in UPPERCASE.
Exception trace:
1 SocialiteProviders\Generators\Contexts\Stub::nameStudlyCase()
/var/www/html/vendor/socialiteproviders/generators/src/Contexts/Stub.php:146
2 SocialiteProviders\Generators\Contexts\Stub::toArray()
/var/www/html/vendor/socialiteproviders/generators/src/Compilers/Compiler.php:67
Please use the argument -v to see more details.
Please confirm this.
any time soon?
Needs Laravel 7 support.
I submitted a pr for it a while ago. Iโd rather use your library than have to override and call my form in composer for Laravel 7 projects.
Thank you for the awesome work!
When I run php artisan make:socialite Test --spec=oauth2 --author=YourName --email=[email protected]
I dont find any providers have generate in SocialiteProviders/Manager.
I dont no where can set my AuthUrl and TokenUrl before generate.
Please add support for Laravel 8. Would love to use this with fortify.
I'm very thankful for your package, it made my life a lot easier.
The package illuminate/console hasn't been updated yet for Laravel 8, the upgrade to Laravel 8 fails with your package as a dependency.
I'm hoping people can continue using it with Laravel 8 in the near future!
Please add support for php 8.0
Problem 1
- Conclusion: remove laravel/framework v5.4.6
- Conclusion: don't install laravel/framework v5.4.6
- socialiteproviders/generators v3.0.0 requires illuminate/console 5.1.* || 5.2.* || 5.3.* ->
Snippet of error message when installing though composer on a 5.4.6 version
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.