Skip to content

Commit 3c5ec5a

Browse files
committed
Requiring php 7.1
Signed-off-by: RJ Garcia <[email protected]>
1 parent c7a1fd2 commit 3c5ec5a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Php Inc
22

3+
![PHP Requirements](https://img.shields.io/badge/php-%5E7.1-8892BF.svg)
4+
35
Php inc is a composer plugin for automatically including certain files into composer's `autoload` and `autoload-dev` `files` config. Given a set of file matchers, on the the `dump-autoload` event, php-inc will automatically include any matched files into the dumped autoloaded files.
46

57
This ameliorates the issues that come about when you want to include certain files that contain functions or maybe multiple classes but don't want to constantly update the composer autoload files configuration which can get hard to deal with when you start including more files.

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"files": ["src/php-inc.php"]
1717
},
1818
"require": {
19-
"composer-plugin-api": "^1.1"
19+
"composer-plugin-api": "^1.1",
20+
"php": "^7.1"
2021
},
2122
"require-dev": {
2223
"composer/composer": "^1.7",

0 commit comments

Comments
 (0)