All Projects → yiisoft → assets

yiisoft / assets

Licence: BSD-3-Clause license
Assets management

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to assets

Riot-Games-API-Developer-Assets
Riot Games API Developer Assets!
Stars: ✭ 23 (+35.29%)
Mutual labels:  assets
puppeteer-assets
Measuring and monitor assets metrics using Puppeteer and Prometheus
Stars: ✭ 29 (+70.59%)
Mutual labels:  assets
RxAssetManager
An RxJava2 implementation of the Android AssetManager.
Stars: ✭ 53 (+211.76%)
Mutual labels:  assets
assetic
Asset Management for PHP
Stars: ✭ 61 (+258.82%)
Mutual labels:  assets
i18n
Yii i18n
Stars: ✭ 20 (+17.65%)
Mutual labels:  yii3
cookies
Convenient way to use cookies with PSR-7
Stars: ✭ 17 (+0%)
Mutual labels:  yii3
rollup-plugin-copy-assets
Copy additional assets into the output directory of your rollup bundle.
Stars: ✭ 25 (+47.06%)
Mutual labels:  assets
yii-bulma
Yii Framework Bulma Integration
Stars: ✭ 23 (+35.29%)
Mutual labels:  yii3
unity-visual-novel-toolkit
WIP: Create a Visual Novel with no programming
Stars: ✭ 34 (+100%)
Mutual labels:  assets
Unity TransparentWindowManager
Make Unity's window transparent and overlay on desktop.
Stars: ✭ 91 (+435.29%)
Mutual labels:  assets
mailer
Generic mailer
Stars: ✭ 16 (-5.88%)
Mutual labels:  yii3
validator
Yii validator library
Stars: ✭ 47 (+176.47%)
Mutual labels:  yii3
laravel-theme
This package creates multiple managed theme infrastructure for Laravel.
Stars: ✭ 19 (+11.76%)
Mutual labels:  assets
log
PSR-3 compatible logger
Stars: ✭ 32 (+88.24%)
Mutual labels:  yii3
laravel-assets
Laravel Assets manager
Stars: ✭ 13 (-23.53%)
Mutual labels:  assets
pug-symfony
Pug (Jade) template engine for Symfony
Stars: ✭ 40 (+135.29%)
Mutual labels:  assets
serverless-s3bucket-sync
Serverless Plugin to sync local folders with an S3 bucket
Stars: ✭ 24 (+41.18%)
Mutual labels:  assets
SecureAssetDownload
Craft CMS plugin for secure asset download URLs
Stars: ✭ 22 (+29.41%)
Mutual labels:  assets
demo-api
www.yiiframework.com/
Stars: ✭ 23 (+35.29%)
Mutual labels:  yii3
csrf
PSR-15 middleware implementing CSRF protection
Stars: ✭ 20 (+17.65%)
Mutual labels:  yii3

Yii Assets


Latest Stable Version Total Downloads Build Status Scrutinizer Code Quality Code Coverage Mutation testing badge static analysis type-coverage

The package implements client-side asset (such as CSS and JavaScript) management for PHP. It helps resolve dependencies and get lists of files ready for generating HTML <script> and <link> tags.

Requirements

  • PHP 7.4 or higher.
  • mbstring PHP extension.

Installation

The package could be installed via composer:

composer require yiisoft/assets --prefer-dist

General usage

There are three main steps using the package:

  1. Define asset bundles. These are config classes defining where your assets are and how they should be used.
  2. Register bundles to asset manager and obtain list of files to include.
  3. Optionally use asset converter with asset bundle for asset format conversion (such as TypeScript to JavaScript).
  4. Use your favorite method to include files into HTML (out of scope of this package).

Testing

Unit testing

The package is tested with PHPUnit. To run tests:

./vendor/bin/phpunit

Mutation testing

The package tests are checked with Infection mutation framework with Infection Static Analysis Plugin. To run it:

./vendor/bin/roave-infection-static-analysis-plugin

Static analysis

The code is statically analyzed with Psalm. To run static analysis:

./vendor/bin/psalm

License

The Yii Assets is free software. It is released under the terms of the BSD License. Please see LICENSE for more information.

Maintained by Yii Software.

Support the project

Open Collective

Follow updates

Official website Twitter Telegram Facebook Slack

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].