Skip to content
blog.mertsabribayhan.com
TR
Back to feed

PHP Meta Starter

A small PHP helper for safe title, description, canonical and Open Graph tags.

PHP Meta Starter
scriptv1.0.0MITFree

Keep control

A meta-tag helper example for PHP 8.1+ that works without a CMS.

Included

  • Safe HTML escaping
  • HTTPS canonical validation
  • Title, description and Open Graph output
  • An example and an MIT licence

Include meta.php and call msb_meta_tags inside your page head. Use your real HTTPS canonical URL. This starter does not generate redirects or a sitemap, and does not guarantee search rankings.

Download ZIP
JOURNAL / COMMUNITY

Join the conversation.

Your reply appears after review. No email or account is required.

Rate this post.

Notifications

No new notifications for now.

Find an idea.