thumbtech/fm-api-php-cakephp3 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

thumbtech/fm-api-php-cakephp3

最新稳定版本:1.0.4

Composer 安装命令:

composer require thumbtech/fm-api-php-cakephp3

包简介

FM PHP API Library for CakePHP 3.0

README 文档

README

Updated FM_API_for_PHP_Standalone Code for PHP 5.4 / CakePHP 3.0 use ...

This is a copy of FM_API_for_PHP_Standalone library delivered with FileMaker Server 14 subject to the following terms:

Copyright © 2005-2007, FileMaker, Inc. All rights reserved. NOTE: Use of this source code is subject to the terms of the FileMaker Software License which accompanies the code. Your use of this source code signifies your agreement to such license terms and conditions. Except as expressly granted in the Software License, no other copyright, patent, or other intellectual property license or right is granted, either expressly or by implication, by FileMaker.

Even though this is the library delivered with FileMaker Server 14, it is quite old. It reports:

  • API Version: 1.1
  • Minimum Server Version: 10.0.0.0

I've made extensive use of this library outside of CakePHP and it works well. (However, it is just a wrapper on the Custom Web Publishing engine of FileMaker server and I have never understood why it is so convoluted. Seriously ... was the author trying to win a "crazy code" contest?)

Sadly, because class constructors are named after classes (instead of __construct) and no namespaces are defined, the API as delivered by FileMaker is a non-starter for use with CakePHP 3.0.

This version only tries to glue things together for use with CakePHP 3.0 and provide support for composer & autoloading of the many classes.

To use, in the composer.json file for your app, include something like:

...
"require": {
    ...
    "thumbtech/fm-api-php-cakephp3": "1.*",
    ...
    },
...

Eventually, I would like to develop a custom CakePHP 3 datasource for FileMaker that will leverage the PHP API!

统计信息

  • 总下载量: 470
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-05-04