We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f9b63d commit 8dfd232Copy full SHA for 8dfd232
README.md
@@ -1 +1,29 @@
1
-# sample-file
+# Sample File
2
+
3
+Simple classes to get real file sample for test purposes. May be used in phpunit tests for example.
4
5
+Files were taken from public resources over internet.
6
7
+## Usage
8
9
+```php
10
+use JustCoded\SampleFile\Image;
11
+use JustCoded\SampleFile\Document;
12
+use JustCoded\SampleFile\Sheet;
13
14
15
+$imagePath = Image::make()
16
+ ->png() // or jpg()
17
+ ->medium()
18
+ ->path();
19
20
+$docPath = Document::make()
21
+ ->docx()
22
23
24
+$sheetPath = Sheet::make()
25
+ ->xlsx()
26
27
+```
28
29
+Your IDE will help you with available methods and options :).
samples/images/image-sample-100kb.jpg
100 KB
0 commit comments