Tag Archives: composer

Composer: Using Private Repositories

Assalamualaikum / Hi, Assuming you are having private Repositories in GitHub, which you want to use with your application. The use case here is how you can use your private repositories, without relying to packagist.org? Setup your composer.json file as following: Do take note on line 51 , I have added custom repositories which point… Read More »

Laravel: Creating Your Own Helpers

Assalamualaikum / Hi, Helpers in Laravel, help you a lot in day-to-day coding with Laravel. But, what if you want to create your helper? and of course, you want to organise it as well. Usually I have my own helpers – see my helpers in Laravel Boilerplate. But before doing that, you need to add… Read More »

WordPress: Install from Composer

Create a composer.json in project root directory and copy paste the following composer configuration. Then run composer install. Once done, copy wp/index.php to project root directory and update require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ ); to require( dirname( __FILE__ ) . ‘/wp/wp-blog-header.php’ );. Now run the WP at http://localhost/wp-project-root and continue with installation and you’re… Read More »