From 68a0caf6644968d22e9e189bda31d5c39a3eb0a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=95=E6=B5=B7=E6=B6=9B?= Date: Mon, 25 Sep 2017 12:29:47 +0800 Subject: [PATCH] add composer autoload --- .gitignore | 1 + composer.json | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a38d4b1..0e43bc9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .buildpath .project .settings +vendor diff --git a/composer.json b/composer.json index 5951271..6ddef16 100644 --- a/composer.json +++ b/composer.json @@ -24,8 +24,13 @@ "role" : "Author" } ], + "autoload": { + "classmap": [ + "./src/Toml.php" + ] + }, "support" : { "issues" : "https://github.com/leonelquinteros/php-toml/issues", "source" : "https://github.com/leonelquinteros/php-toml" } -} \ No newline at end of file +}