Download the PHP
package jeurboy/object-field-selector without Composer
On this page you can find all versions of the php package
jeurboy/object-field-selector. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor jeurboy Package object-field-selector Short Description Class for mapping large and complex object or varible into smaller object License
FAQ
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Informations about the package object-field-selector
Field selector for PHP Object
Description
The library for filter complex array/hash or object and return the actual fields you want to use.
If you have a large variables contained with unused values which not necessary to used. The library will helps by filter out all the unused fields and left your fields on return variable.
The library can traverse the complex array or nested array in any level of array/hash or object.
For a deeper knowledge of how to use this package, follow this index:
Installation
Usage
Installation
You can install the package via composer require command:
Or simply add it to your composer.json dependences and run composer update:
Usage
For simple usage. Just create returned schema and send to DataParser;
You will see following result.
If you have nested Array just pass .(Dot) in your schema.
You will get result array like this.
If there are multiple field inside input array, use comma(,) to define more fields.
You will see the result has multiple field returned.
The library also support object inside sequencial array.
Result is
You can see all test case in example/example.php files.
All versions of object-field-selector with dependencies
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package jeurboy/object-field-selector contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.