2017 © Pedro Peláez
 

library php-sdk-framework

A framework for simple PHP SDK packages

image

piurafunk/php-sdk-framework

A framework for simple PHP SDK packages

  • Friday, April 13, 2018
  • by piurafunk
  • Repository
  • 0 Watchers
  • 1 Stars
  • 192 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 24 Versions
  • 12 % Grown

The README.md

php-sdk-framework

A framework for simple PHP SDK packages, (*1)

Installation

composer require piurafunk/php-sdk-framework, (*2)

Usage

ApiClientContract

Implement the Piurafunk\PhpSdkFramework\ApiClientContract interface and define the functionality for the makeRequest method. This function should handle firing the HTTP request off to the API, and returning an appropriate data type to the calling method., (*3)

Models

Extend the Piurafunk\PhpSdkFramework\BaseModel class. Override the $attributeKeys array. Each element should have the following structure:, (*4)

'propertyName' => [
  'attribute' => '',
  'type' => '',
  'returnType' => '',
  'arrayOf' => '',
  'callable' => '',
  'description' => ''
]

Where each index means the following:, (*5)

Index Description Valid Input
attribute The attribute name as returned by the API Any
type The type used by the faker to generate appropriate data. This is only used in dev mode string, integer, boolean, float, double, \namespace\model::class
returnType The type of data this variable will be returned as Any valid type (ie, primitives, models, primitive[], models[])
description A description of this variable Any
callable A function that mutates the data every time it is retrieved from the model A callback

The Versions

13/04 2018

dev-master

9999999-dev

A framework for simple PHP SDK packages

  Sources   Download

GNU GPL GPL-3.0-or-later

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

13/04 2018

0.1.3

0.1.3.0

A framework for simple PHP SDK packages

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

13/04 2018

0.1.2

0.1.2.0

A framework for simple PHP SDK packages

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

13/04 2018

0.1.1

0.1.1.0

A framework for simple PHP SDK packages

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

12/04 2018

0.1.0

0.1.0.0

A framework for simple PHP SDK packages

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

20/03 2018

0.0.19

0.0.19.0

A framework for simple PHP SDK packages

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

08/02 2018

0.0.18

0.0.18.0

A framework for simple PHP SDK packages

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

08/02 2018

0.0.17

0.0.17.0

A framework for simple PHP SDK packages

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

08/02 2018

0.0.16

0.0.16.0

A framework for simple PHP SDK packages

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

08/02 2018

0.0.15

0.0.15.0

A framework for simple PHP SDK packages

  Sources   Download

GPL-3.0-or-later

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

08/02 2018

0.0.14

0.0.14.0

A framework for simple PHP SDK packages

  Sources   Download

GNU GPL

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

20/12 2017

0.0.13

0.0.13.0

A framework for simple PHP SDK packages

  Sources   Download

GNU GPL

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

19/12 2017

0.0.12

0.0.12.0

A framework for simple PHP SDK packages

  Sources   Download

GNU GPL

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

18/12 2017

0.0.11

0.0.11.0

A framework for simple PHP SDK packages

  Sources   Download

GNU GPL

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

18/12 2017

0.0.10

0.0.10.0

A framework for simple PHP SDK packages

  Sources   Download

GNU GPL

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

18/12 2017

0.0.9

0.0.9.0

A framework for simple PHP SDK packages

  Sources   Download

GNU GPL

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

18/12 2017

0.0.8

0.0.8.0

A framework for simple PHP SDK packages

  Sources   Download

GNU GPL

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

18/12 2017

0.0.7

0.0.7.0

A framework for simple PHP SDK packages

  Sources   Download

GNU GPL

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

18/12 2017

0.0.6

0.0.6.0

A framework for simple PHP SDK packages

  Sources   Download

GNU GPL

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

15/12 2017

0.0.5

0.0.5.0

A framework for simple PHP SDK packages

  Sources   Download

GNU GPL

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

15/12 2017

0.0.4

0.0.4.0

A framework for simple PHP SDK packages

  Sources   Download

GNU GPL

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

15/12 2017

0.0.3

0.0.3.0

A framework for simple PHP SDK packages

  Sources   Download

GNU GPL

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

15/12 2017

0.0.2

0.0.2.0

A framework for simple PHP SDK packages

  Sources   Download

GNU GPL

The Requires

  • php >=5.6

 

The Development Requires

by James Funk

14/12 2017

0.0.1

0.0.1.0

A framework for simple PHP SDK packages

  Sources   Download

GNU GPL

The Requires

  • php >=5.6

 

The Development Requires

by James Funk