core icon indicating copy to clipboard operation
core copied to clipboard

An extensible micro-framework for PHP

Results 70 core issues
Sort by recently updated
recently updated
newest added

Hello, is there any way to make calls like this: F::get('id'); instead of: Flight::get ('id');

Hello, How can I get the current url? try: Flight::route ();

My .htaccess file ----------------- RewriteEngine On Header set Access-Control-Allow-Origin * Header set Access-Control-Allow-Credentials true RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php [QSA,L] When i try to access my...

This PR converts flight to use PSR-4 standards. In order for this to work, I've **dropped support for using Flight _without_ Composer**. Changes: - Renamed directories to match class names:...

Hi, can you supply an API for 'flight'?

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: ```bash curl https://test.local/test?key1=%0A% all...

Has anyone considered streaming json to the client? In the `_json` function you're calling `$json = ($encode) ? json_encode($data, $option) : $data;` and then sending a response with the result...

When I try to set a cookie and then use Flight::redirect, the cookie is not set. When I set my cookie and then just write ```php header("Location:$url"); exit(0); ``` my...

Hey, is it possible to use the Flight::json() function with flushing? So I can call Flight::json() then the user gets a response but the script still runs after sending the...

Question