SEO Toolbox in PHP

in #utopian-io8 years ago (edited)

Hello,

I am glad to share my SEO toolbox written in PHP. First of all, it became incredibly large, larger than I expected. In the beginning, everything was a cloud of gas and dust. I just wanted to make some SEO test functions. I know the class could be better, I will make a free SEO service soon. Then for sure I will update this class. But I hope someone will help me to do that.

Activation Problem

I will not go deep. I am sharing this, mostly because, major SEO services are unnecessarily expensive for web developers.

List of Services The Package Serves

  • Broken Links BrokenLinks()
  • Cache Cache()
  • Canonica lTag CanonicalTag()
  • Character Set CharacterSet()
  • Code Content Ratio CodeContent()
  • Deprecated HTML Tags DeprecatedHTML()
  • Domain Length DomainLength()
  • Favicon Favicon()
  • Frameset Frameset()
  • Google Analytics GoogleAnalytics()
  • Header1 Header1()
  • Header2 Header2()
  • Https Https()
  • Image Alt ImageAlt()
  • Inbound Links InboundLinks()
  • Inline Css InlineCss()
  • Meta Description MetaDescription()
  • Meta Title MetaTitle()
  • No-follow Tag NofollowTag()
  • No-index Tag NoindexTag()
  • Object Counter ObjectCount()
  • Page peed PageSpeed()
  • Plaintext Email PlaintextEmail()
  • Page Compression PageCompression()
  • Robots.txt File RobotsFile()
  • Server Signature ServerSignature()
  • Social Media Links SocialMedia()
  • Spf Record SpfRecord()
  • Underscored Links UnderscoredLinks()

How to use?

You can use any function listed above. An example usage is here:

require_once __DIR__ . '/../vendor/autoload.php'; // Autoload files using Composer autoload

use SEOCheckup\Analyze;

$analyze = new Analyze('http://domain.com');

var_dump($analyze->NoindexTag());

How To Contribute

  • Writing test codes
    Testing is not a must here. It's have to be tested.
  • Sharing ideas for re-designing the structure
    It became too complex while I was hard-coding my thoughts.

Roadmap

I'm about to write a free SEO service when I will have enough time. But first, I need to get this code contributed by others. Then I will prepare a free service for you all. It is going to be open source as well.

Installation

It's beta release. It is have to be tested. If you already have composer installed, you have to set your "minimum-stability": "dev".

Then run this code in your console / terminal and grab some drink while it's being installed.

composer require frnxstd/seo-checkup

Note: If your minimum-stability mismatches, it will throw an exception like:

[InvalidArgumentException]
  Could not find package frnxstd/seo-checkup.

Proof of Work

POW.png



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Hey @ikidnapmyself I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Thank you for the contribution. It has been approved.

While there is a lot of code, the way to using it is missing.

Please update your post/github and provide at least one example on how to use it.

I was able to install it. My composer.json looked like this at first:

{"minimum-stability": "dev",
}

and then like this in the end after the install:

{"minimum-stability": "dev",
    "require": {
        "frnxstd/seo-checkup": "dev-master"
    }
}

You can contact us on Discord.
[utopian-moderator]

vote back guys :D