Model Factories in Laravel

Learn to Use Model Factories in Laravel

Laravel has a feature called model factories that allows you to build fake data for your models. It is very useful for testing and seeding fake data into your database to see your code in action before any real user...

/ January 11, 2018
Laravel Packages

Top 10 packages for extending Laravel

Laravel is a free and open source PHP framework for creating web applications. At the time of writing, it is undoubtedly the most popular PHP framework. It offers a lot of features such as authentication, routing, model-view-controller architecture, eloquent and...

/ January 9, 2018
Tap in Laravel

Tap in Laravel

In this tutorial, we will talk about tap in Laravel. We will discuss tap helper function and tap method on collections in detail. Tap Helper Function Old implementation Laravel comes up with a tap function. It is a pretty odd...

/ December 22, 2017
Custom Helper functions Laravel

Creating your own PHP helper functions in Laravel

Laravel provides us with many built-in helper functions that you can call anywhere within your application. They make you workflow convenient for working with arrays & objects, paths, strings, URLs and other types. Although there are many helper functions defined in...

/ December 18, 2017