{"id":43845568,"url":"https://github.com/xtompie/lasorter","last_synced_at":"2026-02-06T05:37:11.511Z","repository":{"id":57085139,"uuid":"362609998","full_name":"xtompie/lasorter","owner":"xtompie","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-28T21:24:49.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-07-16T07:17:22.966Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xtompie.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":"2021-04-28T21:24:04.000Z","updated_at":"2023-07-16T07:17:22.966Z","dependencies_parsed_at":"2022-08-25T00:50:20.113Z","dependency_job_id":null,"html_url":"https://github.com/xtompie/lasorter","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/xtompie/lasorter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtompie%2Flasorter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtompie%2Flasorter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtompie%2Flasorter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtompie%2Flasorter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtompie","download_url":"https://codeload.github.com/xtompie/lasorter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtompie%2Flasorter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29152427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-02-06T05:37:10.841Z","updated_at":"2026-02-06T05:37:11.505Z","avatar_url":"https://github.com/xtompie.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sorter\n\nLaravel collection macro sorter for sort multidimensional array by multiple criteria like columns, keys, any deep value\n\n## Installation\n\n```bash\ncomposer require xtompie/lasorter\n```\n\n## Usage\n\n```php\n\u003c?php\n\nrequire 'vendor/autoload.php';\n\nuse Xtompie\\Sorter\\Sorter;\n\nprint_r(\n    collect([\n        'a' =\u003e ['city' =\u003e 'Warszawa', 'street' =\u003e 'Lea', 'meta' =\u003e (object)['priority' =\u003e '5']],\n        'b' =\u003e ['city' =\u003e 'Krakow', 'street' =\u003e 'Lea', 'meta' =\u003e (object)['priority' =\u003e '10']],\n        'c' =\u003e ['city' =\u003e 'Krakow', 'street' =\u003e 'Krolewska', 'meta' =\u003e (object)['priority' =\u003e '10']],\n        'd' =\u003e ['city' =\u003e 'Krakow', 'street' =\u003e 'Lea', 'meta' =\u003e (object)['priority' =\u003e '10']],\n    ])\n        -\u003esorter(function(Sorter $sorter) {\n            return $sorter\n                -\u003easc(\"city\")\n                -\u003easc(\"street\")\n                -\u003easc(fn($i) =\u003e $i['meta']-\u003epriority)\n                -\u003edesc(fn($i, $k) =\u003e $k)\n            ;\n        })\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtompie%2Flasorter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtompie%2Flasorter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtompie%2Flasorter/lists"}