PHPackages                             xakepehok/array-graphql - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. xakepehok/array-graphql

ActiveLibrary[API Development](/categories/api)

xakepehok/array-graphql
=======================

This library can convert php arrays to GraphQL fields query

0.0.1(6y ago)3155.5k↓18.7%3BSD-3-ClausePHPPHP &gt;=7.1.0

Since Jul 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/XAKEPEHOK/ArrayGraphQL)[ Packagist](https://packagist.org/packages/xakepehok/array-graphql)[ RSS](/packages/xakepehok-array-graphql/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (3)

Convert php-array to GraphQL fields query [![Build Status](https://camo.githubusercontent.com/e193064751d7fcc40895e93fd5d672e80233fab67c9111849cdedf0c2c66aec6/68747470733a2f2f7472617669732d63692e6f72672f58414b455045484f4b2f61727261792d6772617068716c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/XAKEPEHOK/array-graphql)
==============================================================================================================================================================================================================================================================================================================================================

[](#convert-php-array-to-graphql-fields-query-)

This library can convert php arrays to GraphQL fields query. It can remove duplicate fields and can thrown exceptions about incorrect array data

Installation
------------

[](#installation)

```
composer require xakepehok/array-graphql

```

Usage
-----

[](#usage)

```
