When developing an application, you always need to insert dummy data into the database for testing purpose. I guess you already know how to seed normal table. Seeding database is really easy in laravel using ModelFactory. Laravel use an awesome package called Faker. Today i’ll show you how to seed Many to Many relationships (pivot…
Manage Project Dependencies Using Composer
Managing dependencies with composer is super easy and fun. This is the second article in my composer series. I assume that you have already installed and configured composer on your development machine. If you here for the first time or newbie in composer world! I recommend you to read the article first Meet the Beautiful…
Meet the Beautiful Composer
Composer is one of the best thing we have in PHP development eco system. Before composer there was no standard way of manage dependencies in PHP project. Nowadays composer is a must have skill in PHP developer’s resume. Some project like Laravel framework, composer is required. If you are newbie in PHP community or just…
PHP Development Environment Setup for OS X
For a web developer having Mac is a great feeling. Most of the important tools you need are already there. OS X comes with Apache and PHP is pre-installed, just need to configure these tools to boot up the development machine. If you are newbie in web development, there are some all in one package…