Giter Site home page Giter Site logo

Allow Provider Port about openid-connect-php HOT 6 OPEN

jumbojett avatar jumbojett commented on August 17, 2024 1
Allow Provider Port

from openid-connect-php.

Comments (6)

nk2580 avatar nk2580 commented on August 17, 2024 1

Cool beans, I’ll prepare a PR when I can get some time.

Yes, feel free

from openid-connect-php.

jumbojett avatar jumbojett commented on August 17, 2024

@nk2580 thank you for raising this. Will you be submitting a PR?

from openid-connect-php.

nk2580 avatar nk2580 commented on August 17, 2024

I’m considering a different approach, one of the reason I was getting frustrated was that debugging requests felt very cumbersome. What are your thoughts on replacing the http layer with guzzle?

from openid-connect-php.

jumbojett avatar jumbojett commented on August 17, 2024

I was getting frustrated was that debugging requests felt very cumbersome.

I'm sorry to hear that.

What are your thoughts on replacing the http layer with guzzle?

I like guzzle. In keeping with the minimalist approach - Our project strives for as few dependencies as possible. Would adding debug points via error_log help?

from openid-connect-php.

nk2580 avatar nk2580 commented on August 17, 2024

It certainly would.. but I guess it depends on your opinion of minimalism. I guess the biggest thing for me is that the feature of non PSR HTTP requests are somewhat of an anti pattern.

I toyed with the idea of forking your repo, however in the spirit of GitHub I think it would be best to find a way to contribute.

Also testing cURL sucks! So I’ve been basically mocking the whole fetch method out, which feels wrong.

Would you be interested in supplying some guidelines for replacing the HTTP layer with something testable and PSR based?

I.e what’s your idea of minimalism as a library?

COMPLIMENT TIME

This is a great little library and is quite handy at implementing a client quickly into any project. It’s pretty much the only project out there that just works as described. It would be awesome if we could tweak it to be more useable across other projects.

from openid-connect-php.

jumbojett avatar jumbojett commented on August 17, 2024

I toyed with the idea of forking your repo, however in the spirit of GitHub I think it would be best to find a way to contribute.

I'm glad you chose this path!

Would you be interested in supplying some guidelines for replacing the HTTP layer with something testable and PSR based?

Here's my initial thought. Add a debug option to the current library. Add logic to the fetchURL method that will enable verbose output. Doing so would set curl_setopt($curlhandle, CURLOPT_VERBOSE, true); In addition to printing the request parameters via error_log. Thoughts?

I.e what’s your idea of minimalism as a library?

A library that has as few dependencies as possible. It prefers PHP core methods over wrapped architecture.

COMPLIMENT TIME

Thank you! Do you mind if I share this quote in the README?

from openid-connect-php.

Related Issues (20)

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.