GithubHelp home page GithubHelp logo

phpboot-example's People

Stargazers

 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

phpboot-example's Issues

NotFoundHttpException on requesting the first Book

I cloned and tried to run the example. I edited the config file, added the book table and inserted the first row via phpMyAdmin, and when i tried to get the first row it gave me exception.
My http://example.com/public/books/1 request result is:

{
    "error": "Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException",
    "message": ""
}

Log file says:

[2017-11-20 16:31:45] log.WARNING: exception 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException' with message  {"0":"GET","1":"/public/books/1","@file":"/home/<MYUSERNAME>/PhpstormProjects/phpboot-example/vendor/caoym/phpboot/src/Application.php","@line":284} []

Could you enlighten me please.
Thank you.

BasicAuth class unknown method fail

At Hooks/BasicAuth.php:28 there's a fail method tries to run in the line but i couldn't find any definition. Could you help?

        $auth[1] == md5("{$this->username}:{$this->password}") or fail(new UnauthorizedHttpException('Basic realm="PhpBoot Example", "Invalid username or password!"'));

Thank you.

\DI\get('AppName') cannot be found when not using redis.

In the phpboot-example/config/config.php, i tried not using redis. Run the example project and see an exception about not finding AppName. Please update the documentation about this.

Also, if you can write the docs in english that would be great ( google translate is not working good for me )

Thanks.
Kambaa...

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.