plates local assets copy:用于基于纯php模板引擎[plates](https的插件 源码
Plates-Local-assets-copy 用于基于纯PHP模板引擎插件,可将远程资产下载到本地缓存 设置 首先通过composer下载该库: composer require basteyy/plates-local-assets-copy 在Plates中注册插件: use League \ Plates \ Engine ; use basteyy\ PlatesLocalAssetsCopy \ PlatesLocalAssetsCopy as PlatesLocalAssetsCopy ; $ templateEngine = new Engine (); $ templateEngine -> loadExtension ( new PlatesLocalAssetsCopy ( __DIR__ . '/cache/' , // Define where
文件列表
plates-local-assets-copy-master.zip
(预估有个6文件)
plates-local-assets-copy-master
composer.json
449B
LICENSE
1KB
src
Downloader.php
2KB
DownloaderInterface.php
498B
PlatesLocalAssetsCopy.php
2KB
README.md
2KB
暂无评论