{"id":18937382,"url":"https://github.com/fetch/php-array-utils","last_synced_at":"2025-06-18T09:37:57.351Z","repository":{"id":28813749,"uuid":"32336944","full_name":"fetch/php-array-utils","owner":"fetch","description":"PHP array utility functions","archived":false,"fork":false,"pushed_at":"2015-11-14T11:42:25.000Z","size":164,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-17T09:37:58.598Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fetch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-16T16:08:34.000Z","updated_at":"2022-05-26T17:20:58.000Z","dependencies_parsed_at":"2022-07-08T11:01:46.901Z","dependency_job_id":null,"html_url":"https://github.com/fetch/php-array-utils","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/fetch/php-array-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetch%2Fphp-array-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetch%2Fphp-array-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetch%2Fphp-array-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetch%2Fphp-array-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fetch","download_url":"https://codeload.github.com/fetch/php-array-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetch%2Fphp-array-utils/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260528581,"owners_count":23022976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T12:10:59.890Z","updated_at":"2025-06-18T09:37:52.336Z","avatar_url":"https://github.com/fetch.png","language":"PHP","readme":"# PHP array utility functions. [![Build Status](https://travis-ci.org/fetch/php-array-utils.svg?branch=master)](https://travis-ci.org/fetch/php-array-utils)\n\nThis is a set of utility functions for array alteration and handling.\n\nThey all follow the same naming conventions as the default methods in the form of `array_*`.\n\n## Functions\n\n#### `array_delete(array \u0026$array, $key)`\n\nDeletes entry from array and return its value.\n\n_NB: This method modifies the original variable._\n\n#### `array_get(array $array, $key)`\n\nLookup entry in array by key and return its value, returns `false` if not found.\n\n#### `array_flatten(array $array)`\n\nMake multidimensional array flat.\n\n#### `array_pick(array $array, $keys[, $key[, $key]])`\n\nReturn array with only the keys in `$keys`.\n\n#### `array_reject(array $array, $keys[, $key[, $key]])`\n\nReturn array without the keys in `$keys`.\nThis is the inverse of `array_pick`\n\n## Contributing\n\n1. Fork it ( https://github.com/fetch/php-array-utils/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffetch%2Fphp-array-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffetch%2Fphp-array-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffetch%2Fphp-array-utils/lists"}