Skip to content

justcoded/sample-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages