angelxmoreno/seo-bakery

A CakePHP plugin for all things SEO

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 10

Language:CSS

Type:cakephp-plugin

dev-main 2023-05-29 18:34 UTC

This package is auto-updated.

Last update: 2024-11-29 21:43:41 UTC


README

codecov Codacy Badge

Plugin is currently in phase 6 of development. Find me in the CakePHP Slack channel

Another CakePHP SEO Plugin? Why?

During the years I've come across a few CakePHP SEO plugins that served as amazing drop-in solutions for MVP apps. However, they all seemed to focus on one or two parts of SEO and not a complete solution nor advanced features.

This plugin aims at being a solution for all things SEO from meta-tags to Sitemaps while also being a drop-in solution.

It offers:

  • Component - for fetching stored metadata
  • ViewHelper - for rendering metadata
  • Behavior - for adding templated metadata as a fallback
  • Command - for back filling metadata for already existing entities
  • ChatGPT suggestions to auto-generate metadata
  • Storage of metadata associated with any Entity
  • Configurable

Development progress

Phase one: MVP

Phase one focuses on delivering the MVP of the plugin. It allows the ability to manage

  1. Meta tags: titles, description, keywords
  2. Robot tags: nofollow/follow, index/noindex
  3. canonical urls with 301 redirects
  4. providing metadata fallbacks via behavior

Todos

  • Create Table classes to store data
  • Create Behavior to attach model entities
  • Create component to set/load vars
  • Create Helper to set/render vars
  • Create command to back-fill metadata

Phase 2: Pages and Index views

Todos

  • Solve for Pages controller
  • Solve for Index views

Phase 3: Dashboard

Todos

  • Create Controller/Views for the dashboard

Phase 4: Open Schema & Twitter Cards

Todos

  • Add open schema data
  • Add Twitter cards data

Phase 5: Robots.txt & Sitemaps

  • Create Robots controller
  • Create Sitemaps controller

Phase 6: ChatGPT suggestions

Todos

  • Integrate ChatGPT
  • Create Prompt Config for mapping suggestions to SeoMetadata

Requirements

  • CakePHP 4.x
  • PHP 7.2+

Installation

You can install this plugin into your CakePHP application using composer. The recommended way to install this package using composer is:

composer require angelxmoreno/seo-bakery

Next, load the plugin via the CakePHP pluin shell:

bin/cake plugin load SeoBakery

Finally, create the plugin tables:

bin/cake migrations migrate -p SeoBakery

Documentation

see https://seobakery.readthedocs.io/

Bugs & Feedback

http://github.com/angelxmoreno/SeoBakery/issues

License

Licensed under the MIT License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.