library file-cache
Caching system with grouping support using file system
zver/file-cache
Caching system with grouping support using file system
- Saturday, April 8, 2017
- by s4urp8n
- Repository
- 1 Watchers
- 0 Stars
- 14 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 4 Versions
- 0 % Grown
Package-template
Use this template package structure to build your own packages and tests and composer distribution, (*1)
Structure
- files - package files
- src - package src files
- tests - package PHPUnit tests
- tests/classes - classes needed for testing
- tests/files - files needed for testing
- tests/bootstrap.php - PHPUnit autoloading and helpers
- coverage - directory with coverage information, ignored from git
Helpers
- packageFile($name) - get full name of file with name=$name in files folder
- packageTestFile($name) - get full name of file with name=$name in tests/files folder
- Package/Test trait added with following methods:
- foreachTrue(array $values)
- foreachFalse(array $values)
- foreachEquals(array $values)
- foreachNotEquals(array $values)
- foreachSame(array $values)
- foreachNotSame(array $values)
- assertException(callable $callback, $expectedException = 'Exception', $expectedCode = null, $expectedMessage = null)
Run tests
For testing PHPUnit installed required, (*2)
cd package-template
composer install
php test.php
dev-master
9999999-dev
Caching system with grouping support using file system
Sources
Download
The Requires
file
cache
caching
zver
1.1.1
1.1.1.0
Caching system with grouping support using file system
Sources
Download
The Requires
file
cache
caching
zver
1.1.0
1.1.0.0
Caching system with grouping support using file system
Sources
Download
The Requires
file
cache
caching
zver
1.0.0
1.0.0.0
Caching system with grouping support using file system
Sources
Download
The Development Requires
file
cache
caching
zver