Skip to content

derhasi/schema-org

 
 

Repository files navigation

PHP5 fork of spatie/schema-org

Software License

For the original documentation please refer to spatie/schema-org.

Setup

Add the fork repository to your composer.json's repositories section:

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/derhasi/schema-org.git"
    }
  ],
}

After that you can require the php5 version with the alias pattern like this:

composer require spatie/schema-org:"dev-php5 as 1.1.0"

Changes

  • Changed generator templates to produce PHP5-code
  • Converted generator to PHP5 iva 7to5
  • Changed BaseType->if() to BaseType->doIf()

License

The MIT License (MIT). Please see License File for more information.

Packages

No packages published

Languages

  • PHP 99.9%
  • HTML 0.1%