{"id":19768067,"url":"https://github.com/jonathandey/oc-jd-seo","last_synced_at":"2025-04-30T16:34:07.055Z","repository":{"id":93880913,"uuid":"93507448","full_name":"jonathandey/oc-jd-seo","owner":"jonathandey","description":"Very simple SEO plugin for OctoberCMS","archived":false,"fork":false,"pushed_at":"2019-04-12T20:43:40.000Z","size":7,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T03:06:23.402Z","etag":null,"topics":["meta","octobercms","octobercms-plugin","php","seo"],"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/jonathandey.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":"2017-06-06T10:45:15.000Z","updated_at":"2022-02-28T12:10:01.000Z","dependencies_parsed_at":"2023-04-07T01:32:54.467Z","dependency_job_id":null,"html_url":"https://github.com/jonathandey/oc-jd-seo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathandey%2Foc-jd-seo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathandey%2Foc-jd-seo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathandey%2Foc-jd-seo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathandey%2Foc-jd-seo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathandey","download_url":"https://codeload.github.com/jonathandey/oc-jd-seo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251742809,"owners_count":21636515,"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":["meta","octobercms","octobercms-plugin","php","seo"],"created_at":"2024-11-12T04:34:38.906Z","updated_at":"2025-04-30T16:34:07.005Z","avatar_url":"https://github.com/jonathandey.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Super Simple SEO for OctoberCMS\n\n#### How to use\n\n##### Installation\n1. Install the plugin to your plugins folder under `plugins/jd/seo`\n2. In the `head` tag of your website insert the component `{% component 'seoTags' %}`\n\n##### Controlling the output\nThere are 1 of 2 ways you can control the output of each tag.\n1. By using the default CMS Page meta title or description field\n2. Programatically defining the tags in your own plugin or CMS page\n\n##### Programmatically controlling the SEO tags\nProgrammatically controlling your output will override a pages meta title and description fields.\n\n    use JD\\SEO\\SEO;\n    \n    ...\n    \n    public function onRun()\n    {\n        SEO::meta()-\u003etitle($title)\n            -\u003edescription($description)\n            // Google / Schema.org tags\n            -\u003eschema([\n                'name' =\u003e $title,\n                'description' =\u003e $description,\n                'image' =\u003e $image,\n            ])\n            // Twitter tags\n            -\u003etwitter([\n                'title' =\u003e $title,\n                'description' =\u003e $description,\n                'image' =\u003e $image,\n                'url' =\u003e 'https://my-awesome-site.com',\n            ])            \n            // OpenGraph tags\n            -\u003eog([\n                'site_name' =\u003e 'My Awesome site',\n                'url' =\u003e 'https://my-awesome-site.com',\n                'title' =\u003e $title,\n                'description' =\u003e $description,\n                'image' =\u003e $image,\n            ])\n            -\u003ekeywords(['awesome', 'page'])\n        ;\n    }\n\nThis will output...\n\n    \u003ctitle\u003eMy awesome page\u003c/title\u003e\n    \u003cmeta name=\"description\" content=\"This is my awesome page description.\" /\u003e\n    \u003cmeta name=\"keywords\" content=\"awesome, page\" /\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathandey%2Foc-jd-seo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathandey%2Foc-jd-seo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathandey%2Foc-jd-seo/lists"}