Articles tagged with "composer", sorted by date (updated)X
Displaying 1-9 of 9 result(s).

Yii2: How to create/develop a new extension using Composer locally without version control or Git

Updated 2 months ago by Wade ShulerHow-tos0 comments – viewed 5,002 times – ( +1 ) – version 2.0
Using a version control system, like Git, is nice. However, when building an extension from scratch and loading it via Composer, it adds a lot of pain in the butt steps. You have to commit your changes, update composer to pull them over, then notice there is an error, fix, commit, update. repeat.. I don't want all my baby steps under Git. Sure, I could edit my commit history, but c'mon. Just let me code! I will put it under version control once I get a baseline created. This guide will show you how to setup your composer.json to load a local directory (everything inside, live). You make a change, save the file, refresh the page, boom.

Boost composer-asset-plugin update speed

Updated 3 months ago by samdarkTips0 comments – viewed 4,691 times – ( +5 ) – version 2.0
If you're using a lot of bower and npm assets with Yii 2.0 you might encounter long running composer update tasks.

Using your own forked version of extensions with composer

Updated about a year ago by Kartik VTutorials3 comments – viewed 8,148 times – ( +39 / -4 ) – version 2.0
So you want to use a fork of any existing vendor extension with your Yii 2 install and use the fork, instead of original source. This does not need you to push any update or register your package on You are recommended to follow the approach below:

How to create yii2 extension and push to github and register into packagist to allow end user install from composer

Updated about a year ago by Scott_HuangHow-tos1 comment – viewed 10,505 times – ( +4 ) – version 2.0
1. Create Extension in yii2.

Install specific Yii2 vendor extension & dependency without updating other packages.

Updated 2 years ago by Kartik VTips0 comments – viewed 12,841 times – ( +40 / -6 ) – version 2.0
The tips here are for advanced usages of composer and its assumed you have read about using composer and have a knowledge of your vendor packages to be updated. Let's consider, you want to update only one specific yii2 vendor library, without updating all the other extension packages?

Locking your Yii 2 project package versions with composer.lock

Updated 2 years ago by Kartik VTips0 comments – viewed 4,809 times – ( +37 / -4 ) – version 2.0
Ok, you have installed a Yii 2 basic or advanced app for the first time and completed the post install steps. You have picked up a few extensions to install for the first time as well. You would already see a composer.lock file in your application root folder.

What to do when composer fails to update your vendor packages?

Updated 2 years ago by Kartik VTutorials0 comments – viewed 15,046 times – ( +38 / -5 ) – version 2.0
Have you faced some of these problems when using composer with your Yii 2 installation?

How to use the official Yii installer for Composer (**DEPRECATED**)

Updated 3 years ago by br0skHow-tos9 comments – viewed 37,799 times – ( +3 ) – version 1.1
This wiki shall be considered deprecated since the Yii installer for composer has been discontinued.

Creating Yii applications with composer

Updated 3 years ago by SleepWalkerTutorials2 comments – viewed 73,406 times – ( +30 ) – version 1.1
Creating Yii applications with composer