From be0541d1387c292f1e4c87c69635f673eb146154 Mon Sep 17 00:00:00 2001 From: Code2Prog Date: Tue, 16 Oct 2018 13:09:45 +0100 Subject: [PATCH 1/3] fix typo & add .gitignore --- .gitignore | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 2 +- 2 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6f1eb6c --- /dev/null +++ b/.gitignore @@ -0,0 +1,64 @@ +# Created by .ignore support plugin (hsz.mobi) +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/modules.xml +# .idea/*.iml +# .idea/modules + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests +.idea + diff --git a/README.md b/README.md index 3215092..32613b0 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ GoogleSafeBrowsing ===== -Goole Safe Browsing v4 package for Laravel. +Google Safe Browsing v4 package for Laravel. Installation ==== From c2f2f99c7ffba14467190b5f8140a46961d86d52 Mon Sep 17 00:00:00 2001 From: Code2Prog Date: Tue, 16 Oct 2018 13:21:38 +0100 Subject: [PATCH 2/3] added auto-discover --- composer.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/composer.json b/composer.json index 6879911..ecfd062 100644 --- a/composer.json +++ b/composer.json @@ -16,5 +16,15 @@ "dominykasgel\\GoogleSafeBrowsing\\": "src/" } }, + "extra": { + "laravel": { + "providers": [ + "dominykasgel\\GoogleSafeBrowsing\\GoogleSafeBrowsingServiceProvider" + ], + "aliases": { + "GoogleSafeBrowsing": "dominykasgel\\GoogleSafeBrowsing\\Facades\\GoogleSafeBrowsingFacade" + } + } + }, "minimum-stability": "stable" } From 5d9478bd2279a2d86e77e15d5b3f327838dc9cd5 Mon Sep 17 00:00:00 2001 From: Code2Prog Date: Thu, 5 Sep 2019 21:41:49 +0800 Subject: [PATCH 3/3] Fix:laravel 6 support --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ecfd062..d3e0465 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ ], "license": "GPL-3.0", "require": { - "laravel/framework": "~5.0" + "laravel/framework": "~6.0" }, "autoload": { "psr-4": {