-
I have blade and eloquent running with flightphp along with JWT
I was wondering whether its possible to protect api routes
I currently have this at the moment. Is there a better way of achieving…
-
Hi,
I really like Flight, thanks for your work.
How can I add a routing prefix in every URLs ?
For example, here is the prefix I want to add in the URLs : /api/v1
I would like to know if there is a w…
-
My site worked fine, after switching to fastcgi, I got 404 error for every path, but the regular php works. can anyone please help? Thanks!
Evn:
Apache 2.4
Ubuntu 14.04
php 5
-
Hello,
I have this route:
```php
Flight::route('/test',function() {
echo 'test';
});
Flight::route('*',function() {
echo 'all';
});
```
if i try to make a request like this:
`…
-
I have configured `display_errors = Off` in php.ini but flight still output details of 500 Internal Server Error
Directive | Local Value | Master Value
-- | -- | --
allow_url_fopen | On | O…
-
```
class Greeting {
public static function hello($params) {
echo 'hello '.$params['planet'].'!';
}
}
```
//it would be interesting to be able to pass parameters. It would r…
-
As there seems to be a decent amount of interest among Flight users (myself included) in implementing middleware / route filtering (#276, #350), I decided to write some experimental code today.
As …
-
This URl is not picked up by the below Flight::route, it returns 404 route not found:
`http://localhost/api/intune/hey?error=access_denied&error_description=AADSTS65004%3a+User+declined+to+consent+…
-
I am getting this error when trying to catch exceptions. This is the line causing this error.
```
Flight::map('error', function(Exception $ex) {});
```
-
I wish to have a routing function supporting sub-domains.
like kohana and laravel