Download the PHP package shahburhan/payload-struct without Composer
On this page you can find all versions of the php package shahburhan/payload-struct. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download shahburhan/payload-struct
More information about shahburhan/payload-struct
Files in shahburhan/payload-struct
Download shahburhan/payload-struct
More information about shahburhan/payload-struct
Files in shahburhan/payload-struct
Vendor shahburhan
Package payload-struct
Short Description A simple utility to create payloads in an easy object oriented construct
License MIT
Package payload-struct
Short Description A simple utility to create payloads in an easy object oriented construct
License MIT
Please rate this library. Is it a good library?
Informations about the package payload-struct
payload-struct
A simple utility to create payloads in an easy object oriented construct and transform it into different structures viz. array, objects, string(json).
Usage:
Create a new PayloadStruct instance
Set Items:
You can also chain the setters:
Or use assignment notation:
And get the final payload in different structures:
Output:
Output:
Output:
You can also access individual items with getter notation or direct property access notation as follows:
Reset payload data:
You can chain on to add new data items:
All versions of payload-struct with dependencies
PHP Build Version
Package Version
No informations.
The package shahburhan/payload-struct contains the following files
Loading the files please wait ...