{"id":22173452,"url":"https://github.com/codeat3/laravel-nova-likeable","last_synced_at":"2025-10-29T01:37:08.758Z","repository":{"id":56954876,"uuid":"238231830","full_name":"codeat3/laravel-nova-likeable","owner":"codeat3","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-12T13:22:52.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-28T20:17:55.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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeat3.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-04T14:56:14.000Z","updated_at":"2021-03-12T13:21:55.000Z","dependencies_parsed_at":"2022-08-21T08:50:23.872Z","dependency_job_id":null,"html_url":"https://github.com/codeat3/laravel-nova-likeable","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/codeat3/laravel-nova-likeable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeat3%2Flaravel-nova-likeable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeat3%2Flaravel-nova-likeable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeat3%2Flaravel-nova-likeable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeat3%2Flaravel-nova-likeable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeat3","download_url":"https://codeload.github.com/codeat3/laravel-nova-likeable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeat3%2Flaravel-nova-likeable/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263861994,"owners_count":23521357,"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-02T07:33:28.718Z","updated_at":"2025-10-29T01:37:03.736Z","avatar_url":"https://github.com/codeat3.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A laravel nova package for the `rtconner/laravel-likeable`\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/codeat3/laravel-nova-likeable.svg?style=flat-square)](https://packagist.org/packages/codeat3/laravel-nova-likeable)\n[![Build Status](https://img.shields.io/travis/codeat3/laravel-nova-likeable/master.svg?style=flat-square)](https://travis-ci.org/codeat3/laravel-nova-likeable)\n[![Quality Score](https://img.shields.io/scrutinizer/g/codeat3/laravel-nova-likeable.svg?style=flat-square)](https://scrutinizer-ci.com/g/codeat3/laravel-nova-likeable)\n[![Total Downloads](https://img.shields.io/packagist/dt/codeat3/laravel-nova-likeable.svg?style=flat-square)](https://packagist.org/packages/codeat3/laravel-nova-likeable)\n\nA nova resource package of `rtconner/laravel-likeable` for your `laravel/nova` application.\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require codeat3/laravel-nova-likeable\n```\n\n## Usage\nIf you have a Nova resource `Post` on which you have used the trait `Likeable`, you can simply add the line in the Nova resource.\n\n``` php\n    class Post extends Resource {\n        ...\n        public function fields(Request $request)\n        {\n            return [\n                ...\n                MorphMany::make('Likes', 'likes', \\Codeat3\\LaravelNovaLikeable\\Resources\\Like::class),\n            ];\n        }\n    }\n\n\n```\n\n### Testing\n\n``` bash\ncomposer test\n```\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n### Security\n\nIf you discover any security related issues, please email swapnilsarwe@gmail.com instead of using the issue tracker.\n\n## Credits\n\n- [Swapnil Sarwe](https://github.com/codeat3)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n## Laravel Package Boilerplate\n\nThis package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeat3%2Flaravel-nova-likeable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeat3%2Flaravel-nova-likeable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeat3%2Flaravel-nova-likeable/lists"}