Skip to content

phppkg/asset-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php 前端资源管理

License Php Version Latest Stable Version

项目地址

注意:

  • 代码是要求 php >= 7

安装

  • 使用 composer require
composer require php-comp/asset-manager
  • 使用 composer.json

编辑 composer.json,在 require 添加

"php-comp/asset-manager": "dev-master",

然后执行: composer update

  • 直接拉取
git clone https://github.com/inhere/php-asset-manager.git // github

快速开始

PHP输出资源

$router = new \Inhere\Route\Router;
$router->get('/assets/(css|js)/([\w.-]+)\.(css|js)', AssetController::class . '@output');

License

MIT

About

a simple asset manager by php

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages