rainsens / asset
A php website asset package based upon Laravel
Installs: 26
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: ^7.2.5|^8.0
- ext-json: *
- laravel/framework: ^6.20
This package is auto-updated.
Last update: 2025-03-25 16:30:23 UTC
README
Rainsens Asset is a convenient website asset package working on Laravel.
Installation
composer require rainsens/asset
Usage
Configuration
php artisan vendor:publish --provider="Rainsens\Asset\AssetServiceProvider" --tag="config"
Loading single css file
_asset_css()
Loading multiple css files
_asset_css_all()
Loading single js file
_asset_js()
Loading multiple js files
_asset_js_all()
Loading IE compatible js files
_asset_ie()
Loading required css files
_asset_required_css()
Loading required js files
_asset_required_js()
Layouts
@extends('asset::layouts.app')