Your package name is invalid – Composer 2.0

category:  Yii2.0 framework

I have a Yii2 project and I have been using this yii2 project since 2015. The installed version was 2.0.6. Today Yii2 releases a new version which is Yii 2.0.37. I will share with you how to upgrade Yii2 via composer. Install composer First, you need a composer in your computer. If you don’t have the composer in your computer yet, you can install the composer from this link. Update Yii2 by composer Once the composer is ready, you can … Read More

How to remove the extension or package with composer

category:  Yii2.0 framework

Often when I work with the PHP framework and I want to install the extensions or packages in general term, in order to use in the framework, for PHP, we use composer. In js framework, you will use npm or yarn. To install the extensions, the third party(extension owner) page will let you know the installation composer command. But often they don’t provide you how to remove or uninstall the extensions. I will share this with you today. When the … Read More