From 33df8020dee5a0eb8d45c6688fe54169c629a3c3 Mon Sep 17 00:00:00 2001 From: Felipe Mateus Date: Wed, 11 Aug 2021 01:34:32 -0300 Subject: [PATCH 1/9] Uptade Laravel 8 and FIx bugs --- .gitignore | 1 + composer.json | 6 +- composer.lock | 1415 +---------------- .../{Metatags.php => MetatagsFacade.php} | 10 +- src/Metatags.php | 44 +- src/Providers/MetatagsProvider.php | 6 +- 6 files changed, 45 insertions(+), 1437 deletions(-) create mode 100644 .gitignore rename src/Facades/{Metatags.php => MetatagsFacade.php} (82%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..61ead86 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/vendor diff --git a/composer.json b/composer.json index b51ed9a..00a053a 100644 --- a/composer.json +++ b/composer.json @@ -11,11 +11,15 @@ { "name": "Mobio Solutions", "email": "contact@mobiosolutions.com" + }, + { + "name": "Felipe Mateus", + "email": "eu@felipemateus.com" } ], "autoload": { "psr-4": { - "mobiosolutions\\metatags\\": "src/" + "Mobiosolutions\\Metatags\\": "src/" } }, "minimum-stability": "dev", diff --git a/composer.lock b/composer.lock index 55521a2..76bf82c 100644 --- a/composer.lock +++ b/composer.lock @@ -1,1415 +1,18 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "3fa6066571c91fba99c36e3d12e044ca", - "packages": [ - { - "name": "ayesh/php-timer", - "version": "v1.1.6", - "source": { - "type": "git", - "url": "https://github.com/Ayesh/php-timer.git", - "reference": "e7350f31999f8bd830841e51c3c193ef59bdf4be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Ayesh/php-timer/zipball/e7350f31999f8bd830841e51c3c193ef59bdf4be", - "reference": "e7350f31999f8bd830841e51c3c193ef59bdf4be", - "shasum": "" - }, - "require": { - "php": "^7.1" - }, - "require-dev": { - "phpunit/phpunit": "^6.5.5", - "symfony/phpunit-bridge": "^4.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Ayesh\\PHP_Timer\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ayesh Karunaratne", - "email": "ayesh@ayesh.me", - "homepage": "https://ayesh.me", - "role": "Author" - } - ], - "description": "Stop-watch for all your needs. Supports timer start, pause, resume, stop, read, and minimal conversion.", - "homepage": "https://github.com/ayesh/php-timer", - "keywords": [ - "benchmark", - "performance", - "stopwatch", - "time", - "timer" - ], - "time": "2018-08-26T19:02:33+00:00" - }, - { - "name": "shweshi/opengraph", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/shweshi/OpenGraph.git", - "reference": "4a4f8e6c259306a24b3efafbb2ba13bd694502fa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/shweshi/OpenGraph/zipball/4a4f8e6c259306a24b3efafbb2ba13bd694502fa", - "reference": "4a4f8e6c259306a24b3efafbb2ba13bd694502fa", - "shasum": "" - }, - "type": "library", - "autoload": { - "psr-4": { - "shweshi\\OpenGraph\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Shashi Prakash Gautam", - "email": "contactmespg@gmail.com" - } - ], - "description": "A Laravel package to fetch website Open Graph metadata.", - "time": "2018-01-10T20:14:22+00:00" - } - ], - "packages-dev": [ - { - "name": "doctrine/instantiator", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda", - "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda", - "shasum": "" - }, - "require": { - "php": "^7.1" - }, - "require-dev": { - "athletic/athletic": "~0.1.8", - "ext-pdo": "*", - "ext-phar": "*", - "phpunit/phpunit": "^6.2.3", - "squizlabs/php_codesniffer": "^3.0.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.com/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://github.com/doctrine/instantiator", - "keywords": [ - "constructor", - "instantiate" - ], - "time": "2017-07-22T11:58:36+00:00" - }, - { - "name": "myclabs/deep-copy", - "version": "1.8.1", - "source": { - "type": "git", - "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8", - "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8", - "shasum": "" - }, - "require": { - "php": "^7.1" - }, - "replace": { - "myclabs/deep-copy": "self.version" - }, - "require-dev": { - "doctrine/collections": "^1.0", - "doctrine/common": "^2.6", - "phpunit/phpunit": "^7.1" - }, - "type": "library", - "autoload": { - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - }, - "files": [ - "src/DeepCopy/deep_copy.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Create deep copies (clones) of your objects", - "keywords": [ - "clone", - "copy", - "duplicate", - "object", - "object graph" - ], - "time": "2018-06-11T23:09:50+00:00" - }, - { - "name": "phpdocumentor/reflection-common", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", - "shasum": "" - }, - "require": { - "php": ">=5.5" - }, - "require-dev": { - "phpunit/phpunit": "^4.6" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jaap van Otterdijk", - "email": "opensource@ijaap.nl" - } - ], - "description": "Common reflection classes used by phpdocumentor to reflect the code structure", - "homepage": "http://www.phpdoc.org", - "keywords": [ - "FQSEN", - "phpDocumentor", - "phpdoc", - "reflection", - "static analysis" - ], - "time": "2017-09-11T18:02:19+00:00" - }, - { - "name": "phpdocumentor/reflection-docblock", - "version": "4.3.0", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "94fd0001232e47129dd3504189fa1c7225010d08" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08", - "reference": "94fd0001232e47129dd3504189fa1c7225010d08", - "shasum": "" - }, - "require": { - "php": "^7.0", - "phpdocumentor/reflection-common": "^1.0.0", - "phpdocumentor/type-resolver": "^0.4.0", - "webmozart/assert": "^1.0" - }, - "require-dev": { - "doctrine/instantiator": "~1.0.5", - "mockery/mockery": "^1.0", - "phpunit/phpunit": "^6.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - } - ], - "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2017-11-30T07:14:17+00:00" - }, - { - "name": "phpdocumentor/type-resolver", - "version": "0.4.0", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7", - "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7", - "shasum": "" - }, - "require": { - "php": "^5.5 || ^7.0", - "phpdocumentor/reflection-common": "^1.0" - }, - "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^5.2||^4.8.24" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - } - ], - "time": "2017-07-14T14:27:02+00:00" - }, - { - "name": "phpspec/prophecy", - "version": "1.8.0", - "source": { - "type": "git", - "url": "https://github.com/phpspec/prophecy.git", - "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06", - "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.0.2", - "php": "^5.3|^7.0", - "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", - "sebastian/comparator": "^1.1|^2.0|^3.0", - "sebastian/recursion-context": "^1.0|^2.0|^3.0" - }, - "require-dev": { - "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8.x-dev" - } - }, - "autoload": { - "psr-0": { - "Prophecy\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - }, - { - "name": "Marcello Duarte", - "email": "marcello.duarte@gmail.com" - } - ], - "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "https://github.com/phpspec/prophecy", - "keywords": [ - "Double", - "Dummy", - "fake", - "mock", - "spy", - "stub" - ], - "time": "2018-08-05T17:53:17+00:00" - }, - { - "name": "phpunit/php-code-coverage", - "version": "5.2.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "e648abfd8ffb1d54ad549b027b75e376e9055d02" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/e648abfd8ffb1d54ad549b027b75e376e9055d02", - "reference": "e648abfd8ffb1d54ad549b027b75e376e9055d02", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-xmlwriter": "*", - "php": "^7.0", - "phpunit/php-file-iterator": "^1.3", - "phpunit/php-text-template": "^1.2", - "phpunit/php-token-stream": "^1.4.11 || ^2.0", - "sebastian/code-unit-reverse-lookup": "^1.0", - "sebastian/environment": "^2.0", - "sebastian/version": "^2.0", - "theseer/tokenizer": "^1.1" - }, - "require-dev": { - "ext-xdebug": "^2.5", - "phpunit/phpunit": "^6.0" - }, - "suggest": { - "ext-xdebug": "^2.5.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.2.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", - "keywords": [ - "coverage", - "testing", - "xunit" - ], - "time": "2017-04-20T10:00:57+00:00" - }, - { - "name": "phpunit/php-file-iterator", - "version": "1.4.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4", - "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", - "keywords": [ - "filesystem", - "iterator" - ], - "time": "2017-11-27T13:52:08+00:00" - }, - { - "name": "phpunit/php-text-template", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686", - "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ], - "time": "2015-06-21T13:50:34+00:00" - }, - { - "name": "phpunit/php-timer", - "version": "1.0.9", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", - "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", - "shasum": "" - }, - "require": { - "php": "^5.3.3 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", - "keywords": [ - "timer" - ], - "time": "2017-02-26T11:10:40+00:00" - }, - { - "name": "phpunit/php-token-stream", - "version": "2.0.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "791198a2c6254db10131eecfe8c06670700904db" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db", - "reference": "791198a2c6254db10131eecfe8c06670700904db", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "php": "^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^6.2.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Wrapper around PHP's tokenizer extension.", - "homepage": "https://github.com/sebastianbergmann/php-token-stream/", - "keywords": [ - "tokenizer" - ], - "time": "2017-11-27T05:48:46+00:00" - }, - { - "name": "phpunit/phpunit", - "version": "6.0.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "9d0c024d2099531442d862b66b0ad7cf35ed8e78" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9d0c024d2099531442d862b66b0ad7cf35ed8e78", - "reference": "9d0c024d2099531442d862b66b0ad7cf35ed8e78", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-json": "*", - "ext-libxml": "*", - "ext-mbstring": "*", - "ext-xml": "*", - "myclabs/deep-copy": "^1.3", - "php": "^7.0", - "phpspec/prophecy": "^1.6.2", - "phpunit/php-code-coverage": "^5.0", - "phpunit/php-file-iterator": "^1.4", - "phpunit/php-text-template": "^1.2", - "phpunit/php-timer": "^1.0.6", - "phpunit/phpunit-mock-objects": "^4.0", - "sebastian/comparator": "^1.2.4", - "sebastian/diff": "^1.2", - "sebastian/environment": "^2.0", - "sebastian/exporter": "^2.0", - "sebastian/global-state": "^1.1", - "sebastian/object-enumerator": "^2.0", - "sebastian/resource-operations": "^1.0", - "sebastian/version": "^2.0" - }, - "conflict": { - "phpdocumentor/reflection-docblock": "3.0.2", - "phpunit/dbunit": "<3.0" - }, - "require-dev": { - "ext-pdo": "*" - }, - "suggest": { - "ext-xdebug": "*", - "phpunit/php-invoker": "^1.1" - }, - "bin": [ - "phpunit" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "6.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", - "keywords": [ - "phpunit", - "testing", - "xunit" - ], - "time": "2017-02-03T05:22:46+00:00" - }, - { - "name": "phpunit/phpunit-mock-objects", - "version": "4.0.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "3819745c44f3aff9518fd655f320c4535d541af7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3819745c44f3aff9518fd655f320c4535d541af7", - "reference": "3819745c44f3aff9518fd655f320c4535d541af7", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.0.2", - "php": "^7.0", - "phpunit/php-text-template": "^1.2", - "sebastian/exporter": "^2.0" - }, - "conflict": { - "phpunit/phpunit": "<6.0" - }, - "require-dev": { - "phpunit/phpunit": "^6.0" - }, - "suggest": { - "ext-soap": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" - } - ], - "description": "Mock Object library for PHPUnit", - "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", - "keywords": [ - "mock", - "xunit" - ], - "time": "2017-02-02T10:36:38+00:00" - }, - { - "name": "sebastian/code-unit-reverse-lookup", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", - "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^5.7 || ^6.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Looks up which function or method a line of code belongs to", - "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "time": "2017-03-04T06:30:41+00:00" - }, - { - "name": "sebastian/comparator", - "version": "1.2.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", - "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "sebastian/diff": "~1.2", - "sebastian/exporter": "~1.2 || ~2.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides the functionality to compare PHP values for equality", - "homepage": "http://www.github.com/sebastianbergmann/comparator", - "keywords": [ - "comparator", - "compare", - "equality" - ], - "time": "2017-01-29T09:50:25+00:00" - }, - { - "name": "sebastian/diff", - "version": "1.4.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4", - "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4", - "shasum": "" - }, - "require": { - "php": "^5.3.3 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Diff implementation", - "homepage": "https://github.com/sebastianbergmann/diff", - "keywords": [ - "diff" - ], - "time": "2017-05-22T07:24:03+00:00" - }, - { - "name": "sebastian/environment", - "version": "2.0.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac", - "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^5.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", - "keywords": [ - "Xdebug", - "environment", - "hhvm" - ], - "time": "2016-11-26T07:53:53+00:00" - }, - { - "name": "sebastian/exporter", - "version": "2.0.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", - "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "sebastian/recursion-context": "~2.0" - }, - "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "~4.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - } - ], - "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", - "keywords": [ - "export", - "exporter" - ], - "time": "2016-11-19T08:54:04+00:00" - }, - { - "name": "sebastian/global-state", - "version": "1.1.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.2" - }, - "suggest": { - "ext-uopz": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", - "keywords": [ - "global state" - ], - "time": "2015-10-12T03:26:01+00:00" - }, - { - "name": "sebastian/object-enumerator", - "version": "2.0.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1311872ac850040a79c3c058bea3e22d0f09cbb7", - "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7", - "shasum": "" - }, - "require": { - "php": ">=5.6", - "sebastian/recursion-context": "~2.0" - }, - "require-dev": { - "phpunit/phpunit": "~5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Traverses array structures and object graphs to enumerate all referenced objects", - "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2017-02-18T15:18:39+00:00" - }, - { - "name": "sebastian/recursion-context", - "version": "2.0.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a", - "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - } - ], - "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2016-11-19T07:33:16+00:00" - }, - { - "name": "sebastian/resource-operations", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", - "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", - "shasum": "" - }, - "require": { - "php": ">=5.6.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "time": "2015-07-28T20:34:47+00:00" - }, - { - "name": "sebastian/version", - "version": "2.0.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019", - "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019", - "shasum": "" - }, - "require": { - "php": ">=5.6" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", - "time": "2016-10-03T07:35:21+00:00" - }, - { - "name": "theseer/tokenizer", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/theseer/tokenizer.git", - "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b", - "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": "^7.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - } - ], - "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", - "time": "2017-04-07T12:08:54+00:00" - }, - { - "name": "webmozart/assert", - "version": "1.3.0", - "source": { - "type": "git", - "url": "https://github.com/webmozart/assert.git", - "reference": "0df1908962e7a3071564e857d86874dad1ef204a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a", - "reference": "0df1908962e7a3071564e857d86874dad1ef204a", - "shasum": "" - }, - "require": { - "php": "^5.3.3 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Assert\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" - ], - "time": "2018-01-29T19:49:41+00:00" - } - ], + "content-hash": "370416089b318095ec7f5d70715f9b29", + "packages": [], + "packages-dev": [], "aliases": [], - "minimum-stability": "stable", + "minimum-stability": "dev", "stability-flags": [], - "prefer-stable": false, + "prefer-stable": true, "prefer-lowest": false, - "platform": { - "php": ">=7.0.0" - }, - "platform-dev": [] + "platform": [], + "platform-dev": [], + "plugin-api-version": "2.1.0" } diff --git a/src/Facades/Metatags.php b/src/Facades/MetatagsFacade.php similarity index 82% rename from src/Facades/Metatags.php rename to src/Facades/MetatagsFacade.php index e934649..4e71dd9 100644 --- a/src/Facades/Metatags.php +++ b/src/Facades/MetatagsFacade.php @@ -1,11 +1,11 @@ @@ -14,11 +14,11 @@ class MetatagsFacade extends Facade { /** * Facade Accessor for Metatags - * - * @return string + * + * @return string */ protected static function getFacadeAccessor() { return 'Metatags'; } -} \ No newline at end of file +} diff --git a/src/Metatags.php b/src/Metatags.php index 51a07f1..ef48fa1 100644 --- a/src/Metatags.php +++ b/src/Metatags.php @@ -1,6 +1,6 @@ @@ -19,16 +19,16 @@ class Metatags /** * Get Meta data from URL - * - * @param string $url + * + * @param string $url * @param boolean $onlyOGMetatags get only og metatags - * - * @return array + * + * @return array */ - function get( $url, $onlyOGMetatags = false ) + static function get( $url, $onlyOGMetatags = false ) { - $html = $this->getMetaContents($url); - + $html = self::getMetaContents($url); + $doc = new DomDocument(); @$doc->loadHTML($html); @@ -40,22 +40,22 @@ function get( $url, $onlyOGMetatags = false ) }else{ $metaQuery = '//*/meta[starts-with(@property, \'og:\')]'; } - + $mMetas = $xpath->query($metaQuery); $mmetas = array(); - + foreach ($mMetas as $meta) { $key = $meta->getAttribute('name'); - $value = $meta->getAttribute('value'); - + $value = $meta->getAttribute('value'); + if( empty($key) ) { $key = $meta->getAttribute('property'); } - + if( empty($key) ) { $key = $meta->getAttribute('itemprop'); } - + if( !empty($key) ) { if(empty($value)) { $value = $meta->getAttribute('content'); @@ -63,18 +63,18 @@ function get( $url, $onlyOGMetatags = false ) $mmetas[$key] = $value; } } - + return $mmetas; } - /** + /** * Get contenet from url using CURL * - * @param string $url - * - * @return object + * @param string $url + * + * @return object */ - protected function getMetaContents($url) + protected static function getMetaContents($url) { $curl = curl_init($url); curl_setopt($curl, CURLOPT_FAILONERROR, 1); @@ -88,4 +88,4 @@ protected function getMetaContents($url) curl_close($curl); return $response; } -} \ No newline at end of file +} diff --git a/src/Providers/MetatagsProvider.php b/src/Providers/MetatagsProvider.php index 49de83f..3fb3ba0 100644 --- a/src/Providers/MetatagsProvider.php +++ b/src/Providers/MetatagsProvider.php @@ -1,6 +1,6 @@ app->bind('Metatags', function() { - return new \mobiosolutions\metatags\Metatags; + return new \Mobiosolutions\Metatags\Metatags; }); } -} \ No newline at end of file +} From 6053b09c85b0a62b4611245265731df9d494f2ba Mon Sep 17 00:00:00 2001 From: Felipe Mateus Date: Wed, 11 Aug 2021 01:44:57 -0300 Subject: [PATCH 2/9] Update README.md --- README.md | Bin 2606 -> 2502 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 1845ed7c626106f31bd07be3c4faf3e86594b7b5..38a782b3d2848443dcd49bb9d8aaa3320e4cf597 100644 GIT binary patch delta 405 zcmZ1{a!h!F*hGmOMy`pSiWAq=Ox9xTn7oD2V)8piH%8yd@r=^UF$}(w+nGZruV8W! zg;xr?=jk!!Lvn=FvDW%I;h`dqgB$$ac8K>0|{Y*tMMYX+{#tJw|t5iW)J z@I8C1G={$sKA8NULzG{E!4?=QB@9Ijr3|SI)<6?;Cvi$J1GP<7a3 Lt&qcJ9Ku=vM_EYZ delta 482 zcmX>myiR0-7$fgQ(Ogzu1}+BPiOq^Y-r`zD-pTTeoj`Iqqa~2M&*;vWJ2{Y97D(nZ zhfbcwR7hne<}*&U}% zmMn%4n}B39i$2_i7g@ZCGTV|B=-J7Uti2GwPkzoS3uUpgdE&G+o-H4!>nxipRINQn zHm4?oHQ4pMlgl{`g|Yc#F?%dd69qZ+fhO8>w6cSA0`cUF9O{!FaBy+@GXz1+wdcs4 YoW;olwG(KI8dNPjgrOk@F##?L0A@f*8UO$Q From dadb1d323760eff42ff19ece4e7528a3825d1849 Mon Sep 17 00:00:00 2001 From: Felipe Mateus Date: Wed, 11 Aug 2021 23:34:20 -0300 Subject: [PATCH 3/9] Update composer.json --- composer.json | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 00a053a..3ec024c 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,18 @@ { "name": "mobiosolutions/metatags", + "version":"1.0.0", + "homepage":"https://github.com/mobiosolutions/metatags" , + "keywords":[ + "Metadata", + "Crawler", + "Url", + "Seo", + "og", + "twiiter", + "facebook", + "google", + "bing" + ], "description": "A Laravel package to fetch webpage metadata ( Open Graph | Twitter | Facebook | Article ) ect...", "type": "library", "require": {}, @@ -22,15 +35,15 @@ "Mobiosolutions\\Metatags\\": "src/" } }, - "minimum-stability": "dev", + "minimum-stability": "stable", "prefer-stable": true, "extra": { "laravel": { "providers": [ - "mobiosolutions\\metatags\\Providers\\MetatagsProvider" + "Mobiosolutions\\Metatags\\Providers\\MetatagsProvider" ], "aliases": { - "Metatags": "mobiosolutions\\metatags\\Facades\\MetatagsFacade" + "Metatags": "Mobiosolutions\\Metatags\\Facades\\MetatagsFacade" } } } From cd7039c9711e262b841c68dc9b9d03b18975abf7 Mon Sep 17 00:00:00 2001 From: Felipe Mateus Date: Wed, 1 Sep 2021 01:08:58 -0300 Subject: [PATCH 4/9] Update Metatags.php --- src/Metatags.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Metatags.php b/src/Metatags.php index ef48fa1..d259be4 100644 --- a/src/Metatags.php +++ b/src/Metatags.php @@ -29,13 +29,12 @@ static function get( $url, $onlyOGMetatags = false ) { $html = self::getMetaContents($url); - $doc = new DomDocument(); + $doc = new DOMDocument(); @$doc->loadHTML($html); $xpath = new DOMXPath($doc); - if(!$onlyOGMetatags) - { + if(!$onlyOGMetatags){ $metaQuery = '//*/meta'; }else{ $metaQuery = '//*/meta[starts-with(@property, \'og:\')]'; From d5d50580fb6010b7a231521bdcfc74bf2eb45464 Mon Sep 17 00:00:00 2001 From: Toby Beresford <204007+tobyberesford@users.noreply.github.com> Date: Wed, 15 Jun 2022 13:44:27 +0100 Subject: [PATCH 5/9] Update README.md --- README.md | Bin 2502 -> 1253 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 38a782b3d2848443dcd49bb9d8aaa3320e4cf597..daffc256c2c1177ef852b26df69c860984c988ce 100644 GIT binary patch literal 1253 zcmbVL+m6#P5Pi>AjM|lYQEA?Tic|?vkSJXhUJ#2mZZc^s9NXAVv;8(6_#}RTv2*F} zY8Rx}aDkd}M~5P=IFH4|YUw3JP>t2}}s6C@-f>Pz5k( z@SrJW8AanUe2~^r3Uge^=o(F-Oa-n)D3lPY;qnMdqX}^fT!Jz=8V_Gvs#0>>myBM) zzLt~Vo{T3wN%KS`2IFl!g7 zZ^(Czghe8yx+`o6-WYaHB3~cUG!5%yh)-bkrcIfKh|gNmH*8)`DnQH@Vd)Bg!aE1G z3=<%>DHEJoe2!!n{V&ByuT;olN@r=XUsVkfG51RI z)^tJfZ*Oh)~xBdFP&2{S4Vb zoe-=;Z5QxxZgC9WUPK}IE>qGO@_B3MBf8w}EME_>Ez@gjrt(J7N#6 xT~X!T=8I>&0%vM$QHLsY+BfhomWvBcPuP=t{O$HH6Jg<*^}tUlG4vFEqQ9-Rj5q)Q literal 2502 zcmc(g?N1Xy5XR>-f5iq!Cl(!8qeogtCkfaZBz4|c=ar)W!7y7=0#Ek>~CHo>>_Wkowj?3=Lu8qE?5Q=V67 z&he%QB$4hEt0OcokWH~I?YzH2s#UF(b{1Dt^b0(CE|=&?vzg_FJwSG1i@3i}{!=2D z@zlPOwUYN2)<^Lx*e2^!GF0ppbIe-Gq_W-}Hp)|2Z(1KK9^Wnci)eKotzSjC@bEbH zY>$&UV+4B>HLlSZ@D;$QWVil3L+J+gg*c8QD#E~Xn1I~~|2?9ZF}lo4reZ0`RUV4k zQ=j_yc}AzL>N#!2QdwJTHQoa|AQPQ?#n_LLc!j0Y9@cSrE%k}EnQ>J|Um`E;7JI5K z&tG|KWJ89!%4=Hvp1CeF+IxFq$7KJ(I`re5F{6%qjGH)8pLV0gIdb{y zVOhMii+w+3Nh{7%{JG4r&yd{QMd9qHE>Wz9aDwyBdS*?1Sio*#8nKRY7!sp8R&0|o zYgS)~Imm~zm!pvRPP{7I)X`#e=T_I!J)yewdm-O0i9rK4{hrC*6R)q{Y!4eTZr`zS zvY`HN--oITkD>!#r*o<5lM&(tmS!>TZhc4e(A>4AKQWe0er_N6>R8*q??`O2is4a> zgs>XJaDiGm;@OE`y7$EJN0I-;=OI=^69aX@GGZCCRd3sM&hqh=40T&MK02ob-jrR6 swVlh~#d06C{0x@kSw%QSbKm=zJAJuY|9$icv(<=ywI(vs>726U2Q*iVP5=M^ From fdff6c3a6bd95ab4bcebffe6ff7bc17c0905cdcb Mon Sep 17 00:00:00 2001 From: Toby Beresford <204007+tobyberesford@users.noreply.github.com> Date: Wed, 15 Jun 2022 13:47:58 +0100 Subject: [PATCH 6/9] Update README.md --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index daffc25..f5b7e8a 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,20 @@ A Laravel package to fetch all metadata of a webpage. ## Installation Perform the following operations in order to use this package -- Run `composer require "tobyberesford/metatags"` in your terminal + +Add to your composer.json +{ + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/tobyberesford/metatags" + } + ], + "require": { + "mobiosolutions/metatags": "dev-bugfix" + } +} + - **Add Service Provider** Open `config/app.php` and add `Mobiosolutions\Metatags\Providers\MetatagsProvider::class,` to the end of `providers` array: From 5a06fe5cd83805e6084ec823f7a1a5e617f68459 Mon Sep 17 00:00:00 2001 From: Toby Beresford <204007+tobyberesford@users.noreply.github.com> Date: Wed, 15 Jun 2022 13:49:52 +0100 Subject: [PATCH 7/9] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f5b7e8a..fe42c2e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,8 @@ A Laravel package to fetch all metadata of a webpage. ## Installation Perform the following operations in order to use this package -Add to your composer.json +- **Add to your composer.json** +``` { "repositories": [ { @@ -13,10 +14,10 @@ Add to your composer.json } ], "require": { - "mobiosolutions/metatags": "dev-bugfix" + "mobiosolutions/metatags": "dev-p1" } } - +``` - **Add Service Provider** Open `config/app.php` and add `Mobiosolutions\Metatags\Providers\MetatagsProvider::class,` to the end of `providers` array: From 0ae44e6442b5e29288447171a4a9515bef3c8998 Mon Sep 17 00:00:00 2001 From: Toby Beresford <204007+tobyberesford@users.noreply.github.com> Date: Wed, 15 Jun 2022 13:54:32 +0100 Subject: [PATCH 8/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fe42c2e..06befba 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Perform the following operations in order to use this package } ], "require": { - "mobiosolutions/metatags": "dev-p1" + "mobiosolutions/metatags": "dev-master" } } ``` From 3b71a6bd8b35909eb7efa8314a5fb7e6a8ca4c42 Mon Sep 17 00:00:00 2001 From: Felipe Mateus Date: Thu, 16 Jun 2022 03:05:19 -0300 Subject: [PATCH 9/9] Update README.md --- README.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/README.md b/README.md index 06befba..8705151 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,7 @@ # Metatags A Laravel package to fetch all metadata of a webpage. -## Installation -Perform the following operations in order to use this package -- **Add to your composer.json** -``` -{ - "repositories": [ - { - "type": "vcs", - "url": "https://github.com/tobyberesford/metatags" - } - ], - "require": { - "mobiosolutions/metatags": "dev-master" - } -} -``` - **Add Service Provider** Open `config/app.php` and add `Mobiosolutions\Metatags\Providers\MetatagsProvider::class,` to the end of `providers` array: