You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,20 @@
1
1
# Composer - Include Files Plugin
2
2
3
-
When using the Composer Autoloader if you need project files included prior to files autoloaded by any of your dependancies your out of luck. No longer!
3
+
When using the Composer Autoloader if you need project files included prior to files autoloaded by any of your dependencies your out of luck. No longer!
4
4
5
-
Just add the files you need included using `"include_files"` and they will be include prior to any files included by your dependancies.
5
+
## Installation
6
+
7
+
```bash
8
+
composer require funkjedi/composer-include-files
9
+
```
10
+
11
+
## Usage
12
+
13
+
Just add the files you need included using `"include_files"` and they will be include prior to any files included by your dependencies.
6
14
7
15
```json
8
16
// composer.json (project)
9
17
{
10
-
"require": {
11
-
"funkjedi/composer-include-files": "dev-master",
12
-
},
13
18
"extra": {
14
19
"include_files": [
15
20
"/path/to/file/you/want/to/include",
@@ -32,7 +37,7 @@ But now we can use *Composer - Include Files Plugin* to have Composer include th
0 commit comments