Skip to content

Commit c95fbcc

Browse files
committed
Do not autoload bootstrap file.
1 parent 165ab62 commit c95fbcc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README

+4
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ as a dependency via:
8181

8282
$ composer require davidpersson/mm
8383

84+
To bootstrap and pre-configure the library load the bootstrap file:
85+
86+
require /path/to/mm/bootstrap.php
87+
8488
Quickstart: MIME-type Detection
8589
-------------------------------
8690
Before we can use any of the classes we must configure them. The following

composer.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
"SoX": "Enables transcoding and processing of audio data."
2525
},
2626
"autoload": {
27-
"psr-4": {"mm\\": "src/"},
28-
"files": ["bootstrap.php"]
27+
"psr-4": {"mm\\": "src/"}
2928
},
3029
"autoload-dev": {
3130
"psr-4": {"mm\\tests\\": "tests/"}

0 commit comments

Comments
 (0)