Modern Web Development and Dependency Management

Automation
Package Management Package management is a collection of the software packages which ease the process of installing, upgrading, deleting and configuring software packages from the project or computer operating system. As most of the web developers use Linux or Mac OSX for the web development, we have plenty of options HomeBrew Homebrew  is a package manage for OSX. Homebrew can be easily installed with Ruby with the following command. [crayon-58a984fc78025593846329/] Once installed, We can then install packages with simple command [crayon-58a984fc78034902925074/] Packages installed with Homebrew are installed at "/usr/local/Cellar" directory in OSX. There are various options available for uninstall, list, search, update or upgrade brew packages. Usage and troubleshooting information just do [crayon-58a984fc7803c099654732/] MacPorts MacPorts is another package manager for the OSX. In order to install MacPorts, we need to have Xcode…
Read More

Fixing ‘detect_unicode’ issue with Composer in OSX

Automation
Composer Composer is obviously great dependency management system for the PHP. Use of composer makes your life much easier while dealing with third party libraries. Sometimes, you will see issue while installing/downlng composer which looks like this : [crayon-58a984fc79caa028651071/] This issue is quite normal when you upgrade your OSX. Don't be panic, there is straight fix for this problem. Solution There are couple of solution to fix this issue on Mac OSX, Edit/rename your php.ini.default On Mac OSX, you will find your loaded php.ini at '/etc/php.ini.default' You can search for loaded config using [crayon-58a984fc79cb9321332801/] Now, edit '/etc/php.ini.default' file and add " detect_unicode = Off" You also need to rename this file to 'php.ini' [crayon-58a984fc79cc1347631831/] Restart the terminal and you are good to go ! Just in case you need temporary…
Read More