frontpack / Composer Assets Plugin
Licence: other
Composer plugin for copying of frontend assets into public directory.
Stars: ✭ 20
Projects that are alternatives of or similar to Composer Assets Plugin
Devextreme React
React UI and data visualization components
Stars: ✭ 100 (+400%)
Mutual labels: components, frontend
Chat Ui Kit React
Build your own chat UI with React components in few minutes. Chat UI Kit from chatscope is an open source UI toolkit for developing web chat applications.
Stars: ✭ 131 (+555%)
Mutual labels: components, frontend
Aem Core Cif Components
A set of configurations and components to get you started with AEM Commerce development
Stars: ✭ 60 (+200%)
Mutual labels: components, frontend
Webrix
Powerful building blocks for React-based web applications
Stars: ✭ 41 (+105%)
Mutual labels: components, frontend
composer-asset-compiler
Composer plugin that installs dependencies and compiles assets based on configuration.
Stars: ✭ 19 (-5%)
Mutual labels: assets, composer-plugin
Viewui
A high quality UI Toolkit built on Vue.js 2.0
Stars: ✭ 2,487 (+12335%)
Mutual labels: components, frontend
React Multi Select
A Multi Select component built with and for React
Stars: ✭ 111 (+455%)
Mutual labels: components, frontend
Uiengine
Workbench for UI-driven development
Stars: ✭ 349 (+1645%)
Mutual labels: components, frontend
Devextreme Vue
Vue UI and data visualization components
Stars: ✭ 208 (+940%)
Mutual labels: components, frontend
Bit
A tool for component-driven application development.
Stars: ✭ 14,443 (+72115%)
Mutual labels: components, frontend
Iview
A high quality UI Toolkit built on Vue.js 2.0
Stars: ✭ 23,930 (+119550%)
Mutual labels: components, frontend
Frontend React
Open sourced front end application for codecorgi.
Stars: ✭ 9 (-55%)
Mutual labels: frontend
Create Component App
Tool to generate different types of React components from the terminal. 💻
Stars: ✭ 879 (+4295%)
Mutual labels: components
Vue Enterprise Boilerplate
An ever-evolving, very opinionated architecture and dev environment for new Vue SPA projects using Vue CLI.
Stars: ✭ 7,354 (+36670%)
Mutual labels: frontend
Metro Ui Css
Impressive component library for expressive web development! Build responsive projects on the web with the first front-end component library in Metro Style. And now there are even more opportunities every day!
Stars: ✭ 6,843 (+34115%)
Mutual labels: components
Itelios Frontend Challenge
Desafio de admissão para desenvolvedores front-end da Itelios
Stars: ✭ 14 (-30%)
Mutual labels: frontend
Frontend Interview Questions
Answers for https://performancejs.com/post/hde6d32/The-Best-Frontend-JavaScript-Interview-Questions-(Written-by-a-Frontend-Engineer)
Stars: ✭ 876 (+4280%)
Mutual labels: frontend
Lightning Sites
☁️ Lightning deployment for your ~/Sites folders
Stars: ✭ 8 (-60%)
Mutual labels: frontend
Composer Assets Plugin
Composer plugin for installing assets.
Installation
Use Composer:
composer require frontpack/composer-assets-plugin
Library requires PHP 5.6.0 or later.
Commands
-
composer refresh-assets
- refresh files inassets
directory
Assets configuration
Packages
-
assets-files
in sectionextra
-
true
- symlinks whole package directory - file path - symlinks one file or directory
- list of file paths - symlinks files/directories
-
Example:
{
"extra": {
"assets-files": [
"static/plugin.js",
"static/plugin.css",
"static/icons.png"
]
}
}
-
static/plugin.js
- symlinks file toassets/org/package/plugin.js
-
static/plugin.css
- symlinks file toassets/org/package/plugin.css
-
static/icons.png
- symlinks file toassets/org/package/icons.png
Or you can use simple:
{
"extra": {
"assets-files": "static"
}
}
with same result.
Root package
-
assets-dir
- directory for installing of assets, defaultassets
, relative tovendor-dir
-
assets-directory
- alias forassets-dir
-
assets-files
- list of asset files in incompatible packages, it overridesassets-files
from installed packages -
assets-strategy
- install strategy for assets-
auto
- select strategy by platform (default value) -
copy
- copy all assets, default strategy on Windows -
symlink
- create relative symlinks, default strategy on non-Windows platforms
-
-
assets-target
- target directory for specific packages, relative tovendor-dir
, must be out ofassets-dir
Example:
{
"extra": {
"assets-dir": "public",
"assets-files": {
"org/package": true,
"org/package2": "js/calendar.js",
"org/package3": [
"static/plugin.js",
"static/plugin.css",
"static/icons.png"
]
},
"assets-target": {
"ckeditor/ckeditor": "admin/wysiwyg"
}
}
}
-
org/package
- symlinks whole package directory topublic/org/package
-
org/package2
- symlinks filejs/calendar.js
topublic/org/package2/calendar.js
-
org/package3
-
static/plugin.js
- symlinks file topublic/org/package3/plugin.js
-
static/plugin.css
- symlinks file topublic/org/package3/plugin.css
-
static/icons.png
- symlinks file topublic/org/package3/icons.png
-
-
ckeditor/ckeditor
- symlinks files toadmin/wysiwyg
Default mapping
Plugin provides default mapping for selected incompatible packages. You can override this mapping in your composer.json
.
List of packages with default mapping:
bower-asset/tiny-slider
ckeditor/ckeditor
components/jquery
nette/forms
o5/grido
Where find supported packages?
Some libraries and packages support Composer by default. For other exists shim-repositories:
Always you can search packages on Packagist.
License: New BSD License
Author: Jan Pecha, https://www.janpecha.cz/
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].