Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 551 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 551 Bytes

Sample File

Simple classes to get real file sample for test purposes. May be used in phpunit tests for example.

Files were taken from public resources over internet.

Usage

use JustCoded\SampleFile\Image;
use JustCoded\SampleFile\Document;
use JustCoded\SampleFile\Sheet;


$imagePath = Image::make()
    ->png() // or jpg()
    ->medium()
    ->path();
    
$docPath = Document::make()
    ->docx()
    ->path();

$sheetPath = Sheet::make()
    ->xlsx()
    ->path();

Your IDE will help you with available methods and options :).