{"id":40081647,"url":"https://github.com/humweb/thingamabob","last_synced_at":"2026-01-19T09:08:05.985Z","repository":{"id":57746372,"uuid":"516649416","full_name":"humweb/thingamabob","owner":"humweb","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-16T19:15:58.000Z","size":54,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T20:28:04.223Z","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/humweb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"publiccode":null,"codemeta":null}},"created_at":"2022-07-22T07:14:29.000Z","updated_at":"2025-03-16T19:14:00.000Z","dependencies_parsed_at":"2025-03-16T20:26:41.259Z","dependency_job_id":"f38f2a48-8eba-4ab2-812a-4d9d96358a6c","html_url":"https://github.com/humweb/thingamabob","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"humweb/package-skeleton-laravel","purl":"pkg:github/humweb/thingamabob","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humweb%2Fthingamabob","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humweb%2Fthingamabob/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humweb%2Fthingamabob/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humweb%2Fthingamabob/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/humweb","download_url":"https://codeload.github.com/humweb/thingamabob/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humweb%2Fthingamabob/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28565001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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-01-19T09:08:05.807Z","updated_at":"2026-01-19T09:08:05.962Z","avatar_url":"https://github.com/humweb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Thingamabob Widget Manager\n\n[![run-tests](https://github.com/humweb/thingamabob/actions/workflows/run-tests.yml/badge.svg)](https://github.com/humweb/thingamabob/actions/workflows/run-tests.yml)\n[![PHPStan](https://github.com/humweb/thingamabob/actions/workflows/phpstan.yml/badge.svg)](https://github.com/humweb/thingamabob/actions/workflows/phpstan.yml)\n[![Check \u0026 fix styling](https://github.com/humweb/thingamabob/actions/workflows/php-cs-fixer.yml/badge.svg)](https://github.com/humweb/thingamabob/actions/workflows/php-cs-fixer.yml)\n\n\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require humweb/thingamabob\n```\n\nYou can publish and run the migrations with:\n\n```bash\nphp artisan vendor:publish --tag=\"thingamabob-migrations\"\nphp artisan migrate\n```\n\nYou can publish the config file with:\n\n```bash\nphp artisan vendor:publish --tag=\"thingamabob-config\"\n```\n\nThis is the contents of the published config file:\n\n```php\nreturn [\n    'route' =\u003e '/api/widgets',\n    'middleware' =\u003e [],\n    'assets_path' =\u003e resource_path('js/widgets/'),\n];\n```\n\n## Usage\n\n#### Register new widget\n```php\nWidgets::resgister('stats', new StatsWiget());\n```\n\u003cbr\u003e\n\n#### Writing a widget\n```php\nclass UserWidget extends AbstractWidget implements Widget\n{\n    public string $title = 'Users';\n    public string $component = 'UserWidget';\n\n    public function data(Request $request): Collection\n    {\n       return User::take(5)-\u003eget();\n    }\n}\n```\n\n## Testing\n\n```bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n- [ryun](https://github.com/humweb)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumweb%2Fthingamabob","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhumweb%2Fthingamabob","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumweb%2Fthingamabob/lists"}