Ver código fonte

Merge pull request #71 from Jantho1990/master

Package Discovery
Jan Oris 7 anos atrás
pai
commit
1c6d702148
2 arquivos alterados com 14 adições e 0 exclusões
  1. 4 0
      README.md
  2. 10 0
      composer.json

+ 4 - 0
README.md

@@ -42,6 +42,10 @@ Pull this package in through Composer.
 or run in terminal:
 `composer require ixudra/curl`
 
+### Laravel 5.5+ Integration
+
+Laravel's package discovery will take care of integration for you.
+
 
 ### Laravel 5.* Integration
 

+ 10 - 0
composer.json

@@ -22,5 +22,15 @@
         "psr-4": {
             "Ixudra\\Curl\\": "src/"
         }
+    },
+    "extra": {
+        "laravel": {
+            "providers": [
+                "Ixudra\\Curl\\CurlServiceProvider"
+            ],
+            "aliases": {
+                "Curl": "Ixudra\\Curl\\Facades\\Curl"
+            }
+        }
     }
 }