Articles tagged with "composer"X
Displaying 1-9 of 9 result(s).

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

Created 2 months ago by Wade ShulerHow-tos0 comments – viewed 4,974 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

Created 3 months ago by schmunkTips0 comments – viewed 4,677 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.

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

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

Using your own forked version of extensions with composer

Created 2 years ago by Kartik VTutorials3 comments – viewed 8,143 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:

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

Created 2 years ago by Kartik VTips0 comments – viewed 12,836 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

Created 2 years ago by Kartik VTips0 comments – viewed 4,805 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?

Created 2 years ago by Kartik VTutorials0 comments – viewed 15,036 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**)

Created 3 years ago by br0skHow-tos9 comments – viewed 37,784 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

Created 4 years ago by schmunkTutorials2 comments – viewed 73,397 times – ( +30 ) – version 1.1
Creating Yii applications with composer