{"id":22276121,"url":"https://github.com/noud/laravel-seo","last_synced_at":"2025-03-25T17:26:59.682Z","repository":{"id":57028591,"uuid":"233302720","full_name":"noud/laravel-seo","owner":"noud","description":"Laravel SEO package","archived":false,"fork":false,"pushed_at":"2020-01-11T22:07:07.000Z","size":432,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-30T15:27:42.670Z","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/noud.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}},"created_at":"2020-01-11T21:56:23.000Z","updated_at":"2020-01-11T22:07:09.000Z","dependencies_parsed_at":"2022-08-23T17:30:11.048Z","dependency_job_id":null,"html_url":"https://github.com/noud/laravel-seo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Flaravel-seo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Flaravel-seo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Flaravel-seo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noud%2Flaravel-seo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noud","download_url":"https://codeload.github.com/noud/laravel-seo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245509633,"owners_count":20627021,"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-03T14:13:32.354Z","updated_at":"2025-03-25T17:26:59.660Z","avatar_url":"https://github.com/noud.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel SEO Google Structured data\n\nLaravel SEO package.\n\n## Requirements\n\n* PHP 7.2+\n* Laravel 5.6+\n\n## Installation\n\nInstall the package by running this command in your terminal/cmd:\n```\ncomposer require noud/laravel-seo\n```\n\n## Usage\n\nYou can now use all SEO aspects from\n- [Google Structured data](https://github.com/noud/laravel-seo-google-structured-data)\n- [Google indexing API](https://github.com/noud/laravel-seo-google-indexing-api)\n- [Schema.org](https://github.com/noud/laravel-seo-schema-org)\n- [slug](https://github.com/noud/laravel-seo-slug)\n\n## Development\n\nPut this package directory beside your project directory.\n\nIn ```conmposer.json``` of the target project add\n```\n    \"require\": {\n        \"noud/laravel-seo\": \"*\"\n    },\n    \"repositories\": [\n        {\n            \"type\": \"path\",\n            \"url\": \"../laravel-seo\"\n        }\n    ]\n```\nIn ```.env``` of the target project i set the database to an alternative database\n```\nDB_DATABASE=seo-seo\n#DB_DATABASE=seo\n```\n\n## Development migration\n\nI migrate just this schema like so in the target project:\n```\nphp artisan migrate --realpath --path=/var/www/laravel-seo/src/database/migrations\n```\n\n## Development models generation\n\nIn the target project set the path and namespace in ```config/models.php```\n```\n        'path' =\u003e app_path('Models-seo-seo'),\n        'namespace' =\u003e 'SEO\\Models',\n```\nI generate the models from this schema like so in the target project:\n```\nphp artisan code:models --schema=seo-seo\n```\n\nThen copy everything from ```app/Models-seo-seo``` to the package.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoud%2Flaravel-seo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoud%2Flaravel-seo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoud%2Flaravel-seo/lists"}