{"id":14975340,"url":"https://github.com/asseco-voice/laravel-containers","last_synced_at":"2025-06-17T09:05:26.347Z","repository":{"id":40485480,"uuid":"269270484","full_name":"asseco-voice/laravel-containers","owner":"asseco-voice","description":"Adding container support to Laravel models","archived":false,"fork":false,"pushed_at":"2024-12-03T02:51:20.000Z","size":373,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-26T00:11:38.092Z","etag":null,"topics":["containers","database","laravel","laravel-8-package","laravel-framework","laravel-package","microservice","microservices","php"],"latest_commit_sha":null,"homepage":"","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/asseco-voice.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-04T05:40:12.000Z","updated_at":"2021-12-23T08:27:08.000Z","dependencies_parsed_at":"2024-09-11T10:56:45.346Z","dependency_job_id":"fbb426d1-ed32-4a14-a831-aac61d8c83e0","html_url":"https://github.com/asseco-voice/laravel-containers","commit_stats":{"total_commits":84,"total_committers":6,"mean_commits":14.0,"dds":0.5833333333333333,"last_synced_commit":"8929f9275d6b8d7f7bad98b1694a131c616e4a71"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/asseco-voice/laravel-containers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asseco-voice%2Flaravel-containers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asseco-voice%2Flaravel-containers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asseco-voice%2Flaravel-containers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asseco-voice%2Flaravel-containers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asseco-voice","download_url":"https://codeload.github.com/asseco-voice/laravel-containers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asseco-voice%2Flaravel-containers/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260326670,"owners_count":22992379,"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":["containers","database","laravel","laravel-8-package","laravel-framework","laravel-package","microservice","microservices","php"],"created_at":"2024-09-24T13:51:53.606Z","updated_at":"2025-06-17T09:05:26.323Z","avatar_url":"https://github.com/asseco-voice.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://see.asseco.com\" target=\"_blank\"\u003e\u003cimg src=\"https://github.com/asseco-voice/art/blob/main/evil_logo.png\" width=\"500\"\u003e\u003c/a\u003e\u003c/p\u003e\n \n# Containers\n\nPurpose of this repository is to provide container support to any Laravel model. \n\n**Container** is an entity for organizing multiple resources under a single logical unit. \n\n## Example\n\nHaving a ``contacts`` table:\n\n```\nID  First name\n1   Foo \n2   Bar\n3   Baz\n4   Boo\n5   Far\n6   Faz\n```\n\nYou can logically organize it in 2 containers:\n\n```\nID  Name\n1   F named\n2   B named\n```\n\nResulting in an organized ``contacts`` table\n\n```\nID  First name  Container ID\n1   Foo         1   \n2   Bar         2\n3   Baz         2\n4   Boo         2\n5   Far         1\n6   Faz         1\n```\n\n## Installation\n\nRequire the package with ``composer require asseco-voice/laravel-containers``.\nService provider for Laravel will be installed automatically.\n\n## Usage\n\nIn order to use this repository the following must be done:\n\n1. Run ``php artisan migrate`` to migrate generated migrations\n1. Add a ``Containable`` trait to models you wish having containers. \n\n# Extending the package\n\nPublishing the configuration will enable you to change package models as\nwell as controlling how migrations behave. If extending the model, make sure\nyou're extending the original model in your implementation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasseco-voice%2Flaravel-containers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasseco-voice%2Flaravel-containers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasseco-voice%2Flaravel-containers/lists"}