{"id":25897292,"url":"https://github.com/yuges-code/laravel-mediable","last_synced_at":"2026-03-04T07:02:31.436Z","repository":{"id":293840151,"uuid":"985266370","full_name":"yuges-code/laravel-mediable","owner":"yuges-code","description":"Package for easily uploading and attaching media files to Laravel eloquent models 🎴 📥 🖼️","archived":false,"fork":false,"pushed_at":"2025-08-27T07:11:04.000Z","size":690,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-27T16:10:28.698Z","etag":null,"topics":["files","laravel","media","morphable","package","php","yuges"],"latest_commit_sha":null,"homepage":"https://yuges-code.github.io/laravel-mediable/","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/yuges-code.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,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"yuges-code"}},"created_at":"2025-05-17T12:04:01.000Z","updated_at":"2025-08-27T07:11:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"1be4d20a-9605-473f-80f1-893561f54ef7","html_url":"https://github.com/yuges-code/laravel-mediable","commit_stats":null,"previous_names":["yuges-code/laravel-mediable-new","yuges-code/laravel-mediable"],"tags_count":5,"template":false,"template_full_name":"yuges-code/laravel-package-template","purl":"pkg:github/yuges-code/laravel-mediable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuges-code%2Flaravel-mediable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuges-code%2Flaravel-mediable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuges-code%2Flaravel-mediable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuges-code%2Flaravel-mediable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuges-code","download_url":"https://codeload.github.com/yuges-code/laravel-mediable/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuges-code%2Flaravel-mediable/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30075425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:31:57.858Z","status":"ssl_error","status_checked_at":"2026-03-04T05:31:38.462Z","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":["files","laravel","media","morphable","package","php","yuges"],"created_at":"2025-03-02T23:19:06.308Z","updated_at":"2026-03-04T07:02:31.418Z","avatar_url":"https://github.com/yuges-code.png","language":"PHP","readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/yuges-code/laravel-mediable/master/assets/logo.png\"\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003cb\u003eBuild\u003cb\u003e\n    \u003cdiv\u003e\n        \u003cimg\n            alt=\"GitHub Branch Check Runs\"\n            src=\"https://img.shields.io/github/check-runs/yuges-code/laravel-mediable/main\"\n        \u003e\n        \u003cimg\n            alt=\"GitHub Tests Action Status\"\n            src=\"https://img.shields.io/github/actions/workflow/status/yuges-code/laravel-mediable/testing.yml?branch=main\u0026label=tests\u0026style=flat-square\"\n        \u003e\n    \u003c/div\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003cb\u003eProject\u003c/b\u003e\n    \u003cdiv\u003e\n        \u003cimg alt=\"GitHub Release\" src=\"https://img.shields.io/github/v/release/yuges-code/laravel-mediable\"\u003e\n        \u003cimg alt=\"Packagist Downloads\" src=\"https://img.shields.io/packagist/dt/yuges-code/laravel-mediable\"\u003e\n        \u003cimg alt=\"GitHub License\" src=\"https://img.shields.io/github/license/yuges-code/laravel-mediable\"\u003e\n        \u003cimg alt=\"Packagist Stars\" src=\"https://img.shields.io/packagist/stars/yuges-code/laravel-mediable\"\u003e\n        \u003cimg\n            alt=\"Packagist Dependency Version\"\n            src=\"https://img.shields.io/packagist/dependency-v/yuges-code/laravel-mediable/php\"\n        \u003e\n    \u003c/div\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003cb\u003eQuality\u003c/b\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003ch1\u003eLaravel Mediable\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003ch3\u003e🎴 Package for easily uploading and attaching media files to Laravel eloquent models\u003c/h3\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n\n# 💿 Installation\n\n### → Composer\n\nYou can install the package via composer:\n\n```\ncomposer require yuges-code/laravel-mediable\n```\n\n### → Publishing Config\n\nPublishing the config file (config/mediable.php) is optional:\n\n```\nphp artisan vendor:publish --provider=\"Yuges\\Mediable\\Providers\\MediableServiceProvider\" --tag=\"mediable-configs\"\n```\n\n### → Publishing Migrations\n\nYou need to publish the migration to create the groups table:\n\n```\nphp artisan vendor:publish --provider=\"Yuges\\Mediable\\Providers\\MediableServiceProvider\" --tag=\"mediable-migrations\"\n```\n\n### → Running Migrations\n\nAfter that, you need to run migrations:\n\n```\nphp artisan migrate\n```\n\n\u003cbr\u003e\n\n# 🧪 Running Tests\n\n### → PHPUnit tests\n\nTo run tests, run the following command:\n\n```\ncomposer test\n```\n\n\u003cbr\u003e\n\n# ⚖️ License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n\n\u003cbr\u003e\n\n# 🙆🏼‍♂️ Authors Information\n\nCreated in 2025 by:\n\n- [Yuges-code](https://github.com/yuges-code)\n- [All Contributors](../../contributors)\n","funding_links":["https://github.com/sponsors/yuges-code"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuges-code%2Flaravel-mediable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuges-code%2Flaravel-mediable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuges-code%2Flaravel-mediable/lists"}