0 Replies Latest reply on May 10, 2017 1:00 PM by kdoronzio

    PHP class file for FileMaker 16 Data API (REST)

    kdoronzio

      FREE fmREST – Simplifies & manages PHP connections to FileMaker 16’s REST-based Data API.

      The newly released FileMaker Server 16 now offers REST access to your FileMaker databases. There’s more about that how this impacts PHP developers here.

      The bottom line is that to use REST as part of your PHP solution, you would usually need to write a series of cURL functions and you would have to manually manage connecting & disconnecting from your server, and saving your tokens.

      This is a pain!

      We know it’s a pain, because we have spent the last several weeks rolling REST functionality into soSIMPLE Calendar.

      We created this class file to make it easier to manage dynamic REST sessions for soSIMPLE and our custom development. The goal of the class file was to help PHP developers start using the new REST engine as quickly and easily as possible.

       

      What fmREST.php does:

      • Makes every REST call available as a PHP function.
      • Automatically login into FileMaker Server whenever you call any REST functions
      • Saves your token for 15 minutes to reuse
      • Checks for a broken or disconnected token and automatically reconnects and runs your function again

       

      You can download the fmREST class file here.