Download the PHP package ralfhortt/wp-assets without Composer
On this page you can find all versions of the php package ralfhortt/wp-assets. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ralfhortt/wp-assets
More information about ralfhortt/wp-assets
Files in ralfhortt/wp-assets
Download ralfhortt/wp-assets
More information about ralfhortt/wp-assets
Files in ralfhortt/wp-assets
Vendor ralfhortt
Package wp-assets
Short Description A helper package for working with the WordPress assets
License MIT
Package wp-assets
Short Description A helper package for working with the WordPress assets
License MIT
Please rate this library. Is it a good library?
Informations about the package wp-assets
WP Assets
A small helper package for registering and enqueuing WordPress scripts and styles.
Requirements
- PHP
>= 8.2 - WordPress (functions used at runtime)
Installation
Documentation
Scripts
Inline scripts
Styles
Pass absolute asset URLs as $source (for example from get_stylesheet_directory_uri() or plugins_url()). Local URL detection supports multisite, home/siteurl mismatches, and http/https differences so cache-busting via filemtime keeps working.
Usage
Development
composer lint— PHPStan (level max) with WordPress stubscomposer test— Pest suite for URL/path/version resolution
All versions of wp-assets with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
The package ralfhortt/wp-assets contains the following files
Loading the files please wait ...