Questions tagged [flightphp]

Flight is a fast, simple, extensible framework for PHP. Flight enables you to quickly and easily build RESTful web applications.

Flight is a fast, simple, extensible framework for PHP. Flight enables you to quickly and easily build RESTful web applications.

Requirements

Flight requires PHP 5.3 or greater.

License

Flight is released under the MIT license.

Official repository and issue tracker: https://github.com/mikecao/flight

Official website: http://flightphp.com

36 questions
0
votes
2 answers

PostAsJsonAsync POST variables don't arrive at Flight PHP REST server

I have a Flight PHP REST server set up. At 1 end point it expects POST data and based on one of the POST data it retrieves some data from the database and returns it as JSON. When I use the Postman REST extension in Chrome I see the correct result.…
Paul Meems
  • 3,002
  • 4
  • 35
  • 66
0
votes
2 answers

Using Doctrine ODM with FlightPHP

I'm trying to use Doctrine's MongoDB ODM with FlightPHP in what I thought would be a pretty quick little project. I've registered the DocumentManager class with Flight like so: $dm = DocumentManager::create( $connection, $config…
Chris
  • 417
  • 1
  • 6
  • 14
0
votes
1 answer

Using FlightPHP Framework views and layouts not rendering correctly

I am using FlightPHP for a small simple website. I am using the views and the layouts to render the different web pages:
-1
votes
1 answer

what shared instance and new instance

from flightphp framework documention: By default, every time you load your class you will get a shared instance. To get a new instance of a class, simply pass in false as a parameter: // Shared instance of the class $shared = Flight::db();…
Mohammad Salehi
  • 565
  • 1
  • 12
  • 33
-1
votes
2 answers

how to clone an opensource php REST API

I am trying to make use of the following php application: open source Cyanogenmod OTA Server Alternative - updated link - i opened an account with a free php hosting service and copied the project files to public_html folder when i request the site…
Osama
  • 325
  • 3
  • 14
-2
votes
1 answer

Why doesn't my code recognize the index.php file in the rest folder, along with other classes and files

I am working on a project for my Into to Web Programming course and we've been using PHP, more specifically Flight PHP. I've ran into an issue where I can't access anything on the project. Doesn't recognize index.php in the rest folder, or other…
paxterr
  • 1
  • 1
1 2
3