Dynèsh Hassanaly
Dynèsh Hassanaly
I didn't test but jenssegers/imagehash is internally using Intervention/image to load the image so the following should work: ```php $hasher->hash(file_get_contents('image.png')); ``` See: http://image.intervention.io/api/make Then if you want to compare the...
If someone could implement this that would be great!
@Prestaul I'm looking forward to see this feature implemented. > This would be a breaking change and I'm thinking it would make the most sense to have have error use...
Thanks.
Dunno why I closed this.
Late reply but here is my opinion. I'm considering it as a "fail" in my apps because I think that if the client requests a resource that does not exist,...
@f1ncc Nope, considering it as an "error" goes against the specification, [as stated](https://github.com/omniti-labs/jsend#error): > **Error** When an API call fails due to an error on the server. A 404 status...
> only 5xx errors should be error, since all other status codes are not server error? Yes. > How about failed login? Will you send back status: fail but what...
Here is what you can do instead : ```php $router->mount('/(\w+)', function() use ($router) { $router->get('/(\w+)', function($lang, $page) { dump($lang, $page); }); }); $router->run(); ``` URL: /en/account 
Hi, I should have clarified that I'm using **before()** inside **mount()**. Maybe that's why it's not working properly ? Here is my routes.php file. ```php // Create Router instance $router...