Giter VIP home page Giter VIP logo

generators's People

Contributors

atymic avatar csbarker-jobadder avatar dabernathy89 avatar davetosh avatar dingdayu avatar dzeyelid avatar faustbrian avatar hellokirk avatar hotmeteor avatar jorgenb avatar kvanhoorn avatar lucasmichot avatar m1guelpf avatar mathieutu avatar rearmedhalo avatar robiiinos avatar spacemudd avatar the-provost avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

generators's Issues

Issue a 4.3 release (Laravel 5.8)

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.

Incorrect composer.json

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.

$contents['autoload']['psr-4']["SocialiteProviders\\$providerName\\"] = "SocialiteProviders/$providerName/";

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.

Failed running `php artisan make:socialite` on Laravel 6.x.

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.

Needs Laravel 7 support.

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!

How to use

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.

Illuminate/console versions not supported for laravel 8

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!

Can't use laravel 5.4.*

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.