Giter VIP home page Giter VIP logo

Comments (7)

jackfruh avatar jackfruh commented on May 19, 2024 1

Thanks! use Jumbojett\OpenIDConnectClient; is no longer flagging as an error in PHPStorm, so things are looking up!

from openid-connect-php.

jumbojett avatar jumbojett commented on May 19, 2024

@jackfruh you'll need to install composer. https://getcomposer.org/doc/01-basic-usage.md
composer init in the base root of your project.

from openid-connect-php.

jackfruh avatar jackfruh commented on May 19, 2024

I used composer to install the package, so I think composer is ok?

See
-Folder structure (top left)
-Code (top right)
-Error (bottom)
2017-11-11_11-25-34

If I remove the leading slash, the error goes away:
2017-11-11_11-34-35

I feel like even with this, I must be doing something wrong as the next step in the instructions is to add this line of code
use Jumbojett\OpenIDConnectClient;
but PHPStorm is flagging the namespace as invalid, and the OpenIDConnectClient class isn't found:
2017-11-11_11-40-33

If this is something you'd have time to interactively troubleshoot, I'd gladly pay you for your time.

from openid-connect-php.

jumbojett avatar jumbojett commented on May 19, 2024

@jackfruh Have you tried require __DIR__ . '/vendor/autoload.php'; ? It could be a path issue.

from openid-connect-php.

jackfruh avatar jackfruh commented on May 19, 2024

I did try that and it got past the path issue, but still couldn't find the class.

from openid-connect-php.

jumbojett avatar jumbojett commented on May 19, 2024

@jackfruh you might be using an old package. Try this:

# Tell composer to use the github repo for this lib
composer config repositories.repo-name vcs https://github.com/jumbojett/OpenID-Connect-PHP.git
# Get the latest from github
composer require jumbojett/openid-connect-php:dev-master

I hope this solves the issue!

from openid-connect-php.

jumbojett avatar jumbojett commented on May 19, 2024

@jackfruh Glad to hear! I encourage you submit a PR with changes to the README if you think anything needs clarification.

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.