{"id":22910330,"url":"https://github.com/rokde/laravel-utilities","last_synced_at":"2025-07-22T20:33:01.802Z","repository":{"id":221173390,"uuid":"753651845","full_name":"rokde/laravel-utilities","owner":"rokde","description":"Some laravel or php related utilities","archived":false,"fork":false,"pushed_at":"2025-05-12T07:19:54.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T08:41:59.927Z","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/rokde.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":"rokde","custom":["https://paypal.me/rok"]}},"created_at":"2024-02-06T14:43:15.000Z","updated_at":"2025-05-12T07:19:52.000Z","dependencies_parsed_at":"2024-04-15T08:39:01.068Z","dependency_job_id":"0c3979be-3915-42c5-ba01-b35df31f1a66","html_url":"https://github.com/rokde/laravel-utilities","commit_stats":null,"previous_names":["rokde/laravel-utilities"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/rokde/laravel-utilities","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokde%2Flaravel-utilities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokde%2Flaravel-utilities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokde%2Flaravel-utilities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokde%2Flaravel-utilities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rokde","download_url":"https://codeload.github.com/rokde/laravel-utilities/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rokde%2Flaravel-utilities/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265198361,"owners_count":23726449,"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-12-14T03:43:01.202Z","updated_at":"2025-07-22T20:33:01.773Z","avatar_url":"https://github.com/rokde.png","language":"PHP","funding_links":["https://github.com/sponsors/rokde","https://paypal.me/rok"],"categories":[],"sub_categories":[],"readme":"# Utilities\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/rokde/laravel-utilities.svg?style=flat-square)](https://packagist.org/packages/rokde/laravel-utilities)\n[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/rokde/laravel-utilities/run-tests.yml?branch=main\u0026label=tests\u0026style=flat-square)](https://github.com/rokde/laravel-utilities/actions?query=workflow%3Arun-tests+branch%3Amain)\n[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/rokde/laravel-utilities/fix-php-code-style-issues.yml?branch=main\u0026label=code%20style\u0026style=flat-square)](https://github.com/rokde/laravel-utilities/actions?query=workflow%3A\"Fix+PHP+code+style+issues\"+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/rokde/laravel-utilities.svg?style=flat-square)](https://packagist.org/packages/rokde/laravel-utilities)\n\nSome laravel or php related utilities.\n\n    composer require rokde/laravel-utilities\n\n\n## Stopwatch\n\nA simple stopwatch to measure the time between operations.\n\n```php\nuse Rokde\\LaravelUtilities\\Utilities\\Stopwatch;\n\n$stopwatch = Stopwatch::make();\n\necho $stopwatch-\u003emeasure();\n// do a long running task\necho $stopwatch-\u003emeasure();\n\n// displays\n// 00:00:00.034240\n// 00:00:03.078050\n```\n\n\n## Memory\n\nSimple memory service to get peak and usage formatted.\n\n```php\necho '[' . Memory::usage() . ' / ' . Memory::peak() . ']';\n\n// displays\n// [8.31 MB / 8.96 MB]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frokde%2Flaravel-utilities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frokde%2Flaravel-utilities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frokde%2Flaravel-utilities/lists"}