{"id":15026489,"url":"https://github.com/filipponik/array-analyzer","last_synced_at":"2025-10-27T08:38:27.005Z","repository":{"id":63861265,"uuid":"570607926","full_name":"Filipponik/array-analyzer","owner":"Filipponik","description":"PHP Array analyzer. Can be used for API research","archived":false,"fork":false,"pushed_at":"2022-11-28T15:01:13.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T03:14:35.864Z","etag":null,"topics":["analyze","analyzer","api","array","php","php74","php80","php81","pure-php"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/filipponik/array-analyzer","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Filipponik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-25T15:50:54.000Z","updated_at":"2023-05-31T15:55:45.000Z","dependencies_parsed_at":"2022-11-27T21:02:32.595Z","dependency_job_id":null,"html_url":"https://github.com/Filipponik/array-analyzer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Filipponik%2Farray-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Filipponik%2Farray-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Filipponik%2Farray-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Filipponik%2Farray-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Filipponik","download_url":"https://codeload.github.com/Filipponik/array-analyzer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243330323,"owners_count":20274039,"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":["analyze","analyzer","api","array","php","php74","php80","php81","pure-php"],"created_at":"2024-09-24T20:04:33.968Z","updated_at":"2025-10-27T08:38:26.901Z","avatar_url":"https://github.com/Filipponik.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Array analyzer\n\nAnalyzes array of arrays for researching incoming data as API without documentation and not documented webhooks\n\n## Installing\n\n```shell\ncomposer require filipponik/array-analyzer --dev\n```\n\n## Usage\n\n```php\n$arrayOfArrays = [\n  ['a' =\u003e 1, 'b' =\u003e 2],\n  ['a' =\u003e 2, 'c' =\u003e 3],\n  ['a' =\u003e 3],\n  ['d' =\u003e 'some_string'],\n  ['e' =\u003e null],\n  ['f' =\u003e 0.01],\n];\n\n$analyzer = new \\Filipponik\\ArrayAnalyzer\\Analyzer();\n$analyzedCollection = $analyzer-\u003eanalyze($arrayOfArrays);\n\n$result = $analyzedCollection-\u003etoArray(); // format result to array\n$result = $analyzedCollection-\u003etoJson(); // format result to JSON\n\n$rules = $analyzer-\u003etoLaravelRulesStrings(); // possible laravel validation rules in format 'required|string'\n$rules = $analyzer-\u003etoLaravelRulesArrays(); // possible laravel validation rules in format ['required', 'string']\n\n// You may also add prefix for rules (['result' =\u003e 'required|array', 'result.*.id' =\u003e 'required|integer'])\n$rules = $analyzer-\u003etoLaravelRulesStrings('result');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipponik%2Farray-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilipponik%2Farray-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipponik%2Farray-analyzer/lists"}