├── .github └── workflows │ └── test.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── composer.json ├── src ├── Ad │ ├── AbstractAdNode.php │ ├── InLine.php │ └── Wrapper.php ├── Creative │ ├── AbstractCreative.php │ ├── AbstractLinearCreative.php │ ├── InLine │ │ ├── Linear.php │ │ └── Linear │ │ │ ├── ClosedCaptionFile.php │ │ │ ├── InteractiveCreativeFile.php │ │ │ └── MediaFile.php │ └── Wrapper │ │ └── Linear.php ├── Document.php ├── Document │ └── AbstractNode.php ├── ElementBuilder.php └── Factory.php └── tests ├── .phpunit.cache └── test-results ├── AbstractTestCase.php ├── DocumentTest.php ├── ElementBuilderTest.php ├── FactoryTest.php ├── Stub └── CustomElementBuilder │ ├── CustomElementBuilder.php │ └── Element │ ├── CustomDocument.php │ ├── CustomInLine.php │ ├── CustomInLineAdLinearCreative.php │ ├── CustomMediaFile.php │ ├── CustomWrapper.php │ └── CustomWrapperAdLinearCreative.php ├── data ├── adWithDelivery.xml ├── error.xml ├── errorInInline.xml ├── errorInWrapper.xml ├── impressionInWrapper.xml ├── inlineAd.xml ├── inlineAdCustomElements.xml ├── inlineAdWithExtension.xml ├── linearCreativeWithClosedCaption.xml ├── linearCreativeWithClosedCaptionAndMediaFile.xml ├── linearCreativeWithInteractiveCreativeAndMediaFile.xml ├── linearCreativeWithSkipAfter.xml ├── linearCreativeWithStreamingDelivery.xml ├── replacedClickThrough.xml ├── vast.xml ├── vpaid.xml ├── wrapper.xml └── wrapperAdWithExtension.xml └── phpunit.xml /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | composer.lock 3 | tests/.phpunit.result.cache 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/composer.json -------------------------------------------------------------------------------- /src/Ad/AbstractAdNode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/src/Ad/AbstractAdNode.php -------------------------------------------------------------------------------- /src/Ad/InLine.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/src/Ad/InLine.php -------------------------------------------------------------------------------- /src/Ad/Wrapper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/src/Ad/Wrapper.php -------------------------------------------------------------------------------- /src/Creative/AbstractCreative.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/src/Creative/AbstractCreative.php -------------------------------------------------------------------------------- /src/Creative/AbstractLinearCreative.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/src/Creative/AbstractLinearCreative.php -------------------------------------------------------------------------------- /src/Creative/InLine/Linear.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/src/Creative/InLine/Linear.php -------------------------------------------------------------------------------- /src/Creative/InLine/Linear/ClosedCaptionFile.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/src/Creative/InLine/Linear/ClosedCaptionFile.php -------------------------------------------------------------------------------- /src/Creative/InLine/Linear/InteractiveCreativeFile.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/src/Creative/InLine/Linear/InteractiveCreativeFile.php -------------------------------------------------------------------------------- /src/Creative/InLine/Linear/MediaFile.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/src/Creative/InLine/Linear/MediaFile.php -------------------------------------------------------------------------------- /src/Creative/Wrapper/Linear.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/src/Creative/Wrapper/Linear.php -------------------------------------------------------------------------------- /src/Document.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/src/Document.php -------------------------------------------------------------------------------- /src/Document/AbstractNode.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/src/Document/AbstractNode.php -------------------------------------------------------------------------------- /src/ElementBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/src/ElementBuilder.php -------------------------------------------------------------------------------- /src/Factory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/src/Factory.php -------------------------------------------------------------------------------- /tests/.phpunit.cache/test-results: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/.phpunit.cache/test-results -------------------------------------------------------------------------------- /tests/AbstractTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/AbstractTestCase.php -------------------------------------------------------------------------------- /tests/DocumentTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/DocumentTest.php -------------------------------------------------------------------------------- /tests/ElementBuilderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/ElementBuilderTest.php -------------------------------------------------------------------------------- /tests/FactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/FactoryTest.php -------------------------------------------------------------------------------- /tests/Stub/CustomElementBuilder/CustomElementBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/Stub/CustomElementBuilder/CustomElementBuilder.php -------------------------------------------------------------------------------- /tests/Stub/CustomElementBuilder/Element/CustomDocument.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/Stub/CustomElementBuilder/Element/CustomDocument.php -------------------------------------------------------------------------------- /tests/Stub/CustomElementBuilder/Element/CustomInLine.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/Stub/CustomElementBuilder/Element/CustomInLine.php -------------------------------------------------------------------------------- /tests/Stub/CustomElementBuilder/Element/CustomInLineAdLinearCreative.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/Stub/CustomElementBuilder/Element/CustomInLineAdLinearCreative.php -------------------------------------------------------------------------------- /tests/Stub/CustomElementBuilder/Element/CustomMediaFile.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/Stub/CustomElementBuilder/Element/CustomMediaFile.php -------------------------------------------------------------------------------- /tests/Stub/CustomElementBuilder/Element/CustomWrapper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/Stub/CustomElementBuilder/Element/CustomWrapper.php -------------------------------------------------------------------------------- /tests/Stub/CustomElementBuilder/Element/CustomWrapperAdLinearCreative.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/Stub/CustomElementBuilder/Element/CustomWrapperAdLinearCreative.php -------------------------------------------------------------------------------- /tests/data/adWithDelivery.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/adWithDelivery.xml -------------------------------------------------------------------------------- /tests/data/error.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/error.xml -------------------------------------------------------------------------------- /tests/data/errorInInline.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/errorInInline.xml -------------------------------------------------------------------------------- /tests/data/errorInWrapper.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/errorInWrapper.xml -------------------------------------------------------------------------------- /tests/data/impressionInWrapper.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/impressionInWrapper.xml -------------------------------------------------------------------------------- /tests/data/inlineAd.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/inlineAd.xml -------------------------------------------------------------------------------- /tests/data/inlineAdCustomElements.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/inlineAdCustomElements.xml -------------------------------------------------------------------------------- /tests/data/inlineAdWithExtension.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/inlineAdWithExtension.xml -------------------------------------------------------------------------------- /tests/data/linearCreativeWithClosedCaption.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/linearCreativeWithClosedCaption.xml -------------------------------------------------------------------------------- /tests/data/linearCreativeWithClosedCaptionAndMediaFile.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/linearCreativeWithClosedCaptionAndMediaFile.xml -------------------------------------------------------------------------------- /tests/data/linearCreativeWithInteractiveCreativeAndMediaFile.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/linearCreativeWithInteractiveCreativeAndMediaFile.xml -------------------------------------------------------------------------------- /tests/data/linearCreativeWithSkipAfter.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/linearCreativeWithSkipAfter.xml -------------------------------------------------------------------------------- /tests/data/linearCreativeWithStreamingDelivery.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/linearCreativeWithStreamingDelivery.xml -------------------------------------------------------------------------------- /tests/data/replacedClickThrough.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/replacedClickThrough.xml -------------------------------------------------------------------------------- /tests/data/vast.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/vast.xml -------------------------------------------------------------------------------- /tests/data/vpaid.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/vpaid.xml -------------------------------------------------------------------------------- /tests/data/wrapper.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/wrapper.xml -------------------------------------------------------------------------------- /tests/data/wrapperAdWithExtension.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/data/wrapperAdWithExtension.xml -------------------------------------------------------------------------------- /tests/phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sokil/php-vast/HEAD/tests/phpunit.xml --------------------------------------------------------------------------------