davispeixoto/opentravel-alliance 问题修复 & 功能扩展

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

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

davispeixoto/opentravel-alliance

Composer 安装命令:

composer require davispeixoto/opentravel-alliance

包简介

A PHP implementation of OTA (OpenTravel Alliance) 2014B specifications

README 文档

README

A PHP implementation of OTA (OpenTravel Alliance) 2014B specifications.

Latest Stable Version Total Downloads Scrutinizer Code Quality Codacy Badge Code Climate Build Status SensioLabsInsight

Word of Warning

I've attempted to create this project using a xsd2php converter. However, the quality of generated code is somewhat degraded as you can see in the badges

  • full namespaces in all methods declarations, instead of importing the classes before the class
  • not checking if an index is set before accessing it and another error prone constructions
  • some classes are really complex due to a lot of set/get/isset/unset methods
  • not supporting declared enum types

I will create a xsd to php software on my own for doing this in the future as I haven't found any really good one. Meanwhile, I suggest NOT USING this package yet.

Installation

This package can be installed via Composer by requiring the davispeixoto/opentravel-alliance package in your project's composer.json.

{
    "require": {
        "davispeixoto/opentravel-alliance": "~1.0"
    }
}

And running a composer update from your terminal:

php composer.phar update

Configuration

Usage

More Information

License

This software is licensed under the MIT license

Versioning

This project follows the Semantic Versioning

Thanks

An amazing "Thank you, guys!" for Jetbrains folks, who kindly empower this project with a free open-source license for PhpStorm which can bring a whole new level of joy for coding.

Jetbrains

PhpStorm

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 6
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-12