{"id":16458688,"url":"https://github.com/krato/novaembed","last_synced_at":"2025-03-21T05:30:57.274Z","repository":{"id":54458674,"uuid":"173710974","full_name":"Krato/NovaEmbed","owner":"Krato","description":"Embed field for laravel nova","archived":false,"fork":false,"pushed_at":"2022-03-04T10:09:22.000Z","size":47,"stargazers_count":12,"open_issues_count":4,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T22:08:00.318Z","etag":null,"topics":["embed","field","laravel","nova"],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/Krato.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-03-04T09:08:32.000Z","updated_at":"2023-02-03T13:05:57.000Z","dependencies_parsed_at":"2022-08-13T16:20:13.926Z","dependency_job_id":null,"html_url":"https://github.com/Krato/NovaEmbed","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krato%2FNovaEmbed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krato%2FNovaEmbed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krato%2FNovaEmbed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krato%2FNovaEmbed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Krato","download_url":"https://codeload.github.com/Krato/NovaEmbed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244745668,"owners_count":20503044,"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":["embed","field","laravel","nova"],"created_at":"2024-10-11T10:46:01.435Z","updated_at":"2025-03-21T05:30:56.973Z","avatar_url":"https://github.com/Krato.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nova Embed \n\nEmbed field for Laravel Nova. With this package you can embed from Youtube, Vimeo, Facebook, DailyMotion, SoundCloud, Instagram and a lot of more. Uses [Oscarotero Embed](https://github.com/oscarotero/Embed) to get the data.\n\n![preview](https://user-images.githubusercontent.com/74367/53722300-807ff800-3e65-11e9-8675-bd28ba33a4e1.png)\n\n![preview2](https://user-images.githubusercontent.com/74367/53722303-8249bb80-3e65-11e9-830c-9d4c63a0cee8.png)\n\n## Installation\n\nYou can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:\n\n\n```bash\ncomposer require ericlagarda/nova-embed\n```\n\nThen, register your new field in the `fields` method of the `Resource` class.\n\n```php\n\nuse EricLagarda\\NovaEmbed\\Embed;\n\npublic function fields()\n{\n    return [\n        // ...\n \n        Embed::make('Embed')\n                -\u003eajax(),\n    ];\n}\n```\n\n\n## Update\n\nPlease change your namespace: `Ericlagarda` to `EricLagarda`\n\n## Field options\n\n* `-\u003eajax()`: Load the embed with ajax. By default loads with the field\n* `-\u003ecache()`: You can set the time of the cache. By default a month.\n* `-\u003eviewInIndex()`: Click on the image to open a modal with the embed.\n\nCache will set a month in minutes for Laravel 5.7 and below, and a month in seconds for Laravel 5.8 and up.\n\n## Screenshots\n\n![preview2](https://user-images.githubusercontent.com/74367/53722332-968db880-3e65-11e9-86d1-6cc77717b21e.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrato%2Fnovaembed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrato%2Fnovaembed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrato%2Fnovaembed/lists"}