ApplicationsLabs & Articles

SimpleFM v3

By July 6, 2015 May 23rd, 2019 No Comments

FileMaker-PHP Integration

SimpleFM is a fast, convenient and free tool to facilitate connections between PHP web applications and FileMaker Server.

Designed by Soliant Consulting, Inc., SimpleFM is a lightweight PHP package that uses the FileMaker Server XML API (commonly referred to as Custom Web Publishing or CWP for short).

SimpleFM is Composer friendly, making it a snap to use with all PHP-FIG frameworks, including Zend Framework, Symphony, Laravel, Slim, and many more.

See also the SimpleFM FMServer Sample demo application which illustrates use of SimpleFM in an MVC Zend Framework application.

Features

Easy to Integrate

  • PSR-0 autoloading (Composer ready).
  • Returns a PHP array. The result parser inside SoliantSimpleFMAdapter uses PHP5’s SimpleXML.
  • Can be used on it’s own or with any service or middleware, such as Apigility or Stratigility.

CWP Debugger

  • Easily see the underlying API command formatted as a URL for easy troubleshooting.
  • Use the convenient errorToEnglish function to interpret FMS error codes.

Optional Zend Framework 2 Integration

  • The SoliantSimpleFMZF2 package provides excellent integration with Zend Framework.
  • Full ZendAuthenticationAdapter implementation for robust authentication and session management.
  • The included AbstractEntity makes it simple to implement Object serialization and de-serialization.
  • The included AbstractGateway provides a foundation for completely encapsulating the FileMaker XML API.

Simplicity and Performance

SimpleFM, as the name implies, was written with simplicity and performance as its guiding principles. We have informally benchmarked it and obtained faster results for the same queries compared to the two most common CWP PHP alternatives.

System Requirements

SimpleFM, the examples and this documentation are tailored for PHP 5.3 and FileMaker Sever 12.

  • PHP 5.5+
  • FileMaker Server 12+

With minimum effort, SimpleFM should theoretically work with any version of FileMaker server that uses fmresultset.xml grammar, however, backward compatibility is not verified or maintained.

License

SimpleFM is free for commercial and non-commercial use, licensed under the business-friendly standard MIT license.

Project on GitHub

Custom FileMaker PHP Integrated Solutions

If you’re looking for a unique FileMaker-PHP integration that goes beyond SimpleFM’s capabilities, contact our team today.

We’ve built many unique FileMaker solutions with PHP components for clients over the years and may be able to help you develop the unique solution you need.

Contact Our Team
Jeremiah Small

Jeremiah Small

Jeremiah has been with Soliant since 2006. In his spare time, he is a volunteer member of Altadena Mountain Rescue Team. Jeremiah got undergrad and masters degrees from NYU, TSOA, specializing in set design for theater and film. The film/theater and ride/show fabrication industries led him to a career in software consulting where his creative training and general problem-solving talents have served him well.