Libraries tagged by Array to object
nicmart/treebuilder
2 Downloads
TreeBuilder offers some fast methods to transform tree structures (arrays, object graphs, xml documents) to php array
eclipxe/construct-named-parameters
47 Downloads
Helper functions to create objects using an array as named parameters
drupal/core-datetime
54 Downloads
This class wraps the PHP DateTime class with more flexible initialization parameters, allowing a date to be created from an existing date object, a timestamp, a string with an unknown format, a string with a known format, or an array of date parts. It also adds an errors array and a __toString() method to the date object.
stopsopa/jms-serializer-lite
1050 Downloads
Simple library to easy dump/serialize objects/arrays from db to make it ready to expose through RESTful API - one direction
nodeum-io/nodeum-sdk-php
0 Downloads
The Nodeum API makes it easy to tap into the digital data mesh that runs across your organisation. Make requests to our API endpoints and we’ll give you everything you need to interconnect your business workflows with your storage. All production API requests are made to: http://nodeumhostname/api/ The current production version of the API is v1. **REST** The Nodeum API is a RESTful API. This means that the API is designed to allow you to get, create, update, & delete objects with the HTTP verbs GET, POST, PUT, PATCH, & DELETE. **JSON** The Nodeum API speaks exclusively in JSON. This means that you should always set the Content-Type header to application/json to ensure that your requests are properly accepted and processed by the API. **Authentication** All API calls require user-password authentication. **Cross-Origin Resource Sharing** The Nodeum API supports CORS for communicating from Javascript for these endpoints. You will need to specify an Origin URI when creating your application to allow for CORS to be whitelisted for your domain. **Pagination** Some endpoints such as File Listing return a potentially lengthy array of objects. In order to keep the response sizes manageable the API will take advantage of pagination. Pagination is a mechanism for returning a subset of the results for a request and allowing for subsequent requests to “page” through the rest of the results until the end is reached. Paginated endpoints follow a standard interface that accepts two query parameters, limit and offset, and return a payload that follows a standard form. These parameters names and their behavior are borrowed from SQL LIMIT and OFFSET keywords. **Versioning** The Nodeum API is constantly being worked on to add features, make improvements, and fix bugs. This means that you should expect changes to be introduced and documented. However, there are some changes or additions that are considered backwards-compatible and your applications should be flexible enough to handle them. These include: - Adding new endpoints to the API - Adding new attributes to the response of an existing endpoint - Changing the order of attributes of responses (JSON by definition is an object of unordered key/value pairs) **Filter parameters** When browsing a list of items, multiple filter parameters may be applied. Some operators can be added to the value as a prefix: - `=` value is equal. Default operator, may be omitted - `!=` value is different - `>` greater than - `>=` greater than or equal - `=` lower than or equal - `>
jeroenzwart/php-csv-iterator
182 Downloads
A simple CSV reader, to read as array/object with PHP Iterator
samcrosoft/constantaccess
6 Downloads
This library makes it possible to create and read (access) constants using an array-like object or a typical class object to make it possible to use constants in strings without the need of concatenation of strings
nsantos/twig-sort-by-field
13 Downloads
A Twig Extension filter to sort an array of entries (objects or arrays) by the specified field
hgh/helpers
37 Downloads
This package contains all helpful methods to help on texts, arrays, objects and number.
delboy1978uk/csv
21 Downloads
Converts a CSV file to either an SPL Array Object or just a plain array
brash-creative/popomapper
40 Downloads
Plain old PHP object JSON mapper - Map json or array structures to a POPO
asayhome/asay-uploader
4 Downloads
This package upload files inside liveware component array varible, that mean's you can upload multiple files, when adding file the package auto send the file object to fired event so that you can get uploaded files in any place you wont by catching the fired event, all working step will be descriped in next sections.
kokoroe/mapper
37 Downloads
A PHP5.5+ mapper to convert array of data into nested PHP objects
knoxzin1/filter
31 Downloads
Filters to validate and sanitize objects and arrays.
jvmanji/universal-access
461 Downloads
This package includes PHP wrapper for arrays and objects, which simplifies access to nested properties/keys.