Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.
/ php-simple-asset Public archive

Simple Asset Library for PHP 5.3- ( maybe usable only if you maintain Legacy PHP code )

Notifications You must be signed in to change notification settings

wtnabe/php-simple-asset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleAsset

SimpleAsset library for PHP 5.3-

status : experimental implementation

Usage

prepare

SimpleAsset::precompile(array('store_dir' => STORE_DIR,
                              'asset_dir' => PROJECT_ROOT.'public/'));

how to use

<img src="<?php echo SimpleAsset::path('/path/to/image.png'); ?>">

  //  => <img src="/path/to/image.png?{digest}">

Limitation

current limitations as below

  • cache buster feature only
  • only SimpleAssetStoreFile class available for storing asset digest

About

Simple Asset Library for PHP 5.3- ( maybe usable only if you maintain Legacy PHP code )

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages