GithubHelp home page GithubHelp logo

base's People

Contributors

circle8z avatar mruz avatar tmihalik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

base's Issues

Fatal error occured by a parameter of closure

Fatal error: Cannot use $this as parameter in /XXXX/XXXX/base/app/services/UserService.php on line 110

$this->di->hook('model.after.validate', function ($this) use ($auth) {
    $this->set('password', $auth->hash($this->get('password')));
});

I revised the following way. What do you think?

$this->di->hook('model.after.validate', function () use ($auth) {
    $this->set('password', $auth->hash($this->get('password')));
});

My local environment

Vagrant 1.8.1
CentOS 7.2
PHP 7.0.7
MariaDB Ver 15.1 Distrib 5.5.47
Ice 1.1.4

Please add .env.dist

HI there,

I decided to give your project a try. Usually I use Symfony and have done some stuff with Phalcon in the early days. I did not like the fact that I had no control over the code, and since your framework in written in Zephir it is interesting for me.

I fixed this issue another way by falling back to your other env.ini implementation, but in this application I would expect a .env.dist file in the App folder. Now I need to reverse engineer the contents of your .env file which it not what you want to be doing when starting out a project. :-) Could you add a .env.dist to the base project? It would be very helpful.

Thanks!

Kind regards,
Daan

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.