LARAVEL
Accessors and Mutators in Laravel 5
Getters and Setters are common concepts in programming. Every language has a particular construct of making this possible. These concepts are also termed Accessors and Mutators. Accessors and Mutators allow you to format attributes when retrieving them from a model or setting their value. Laravel 5 makes good use of these beautiful concepts [...]
INSTALLING LARAVEL HOMESTEAD ON WINDOWS
As stated in its documentation, Laravel strives to make the entire PHP development experience delightful, including your local development environment. Vagrant provides a simple, elegant way to manage and provision Virtual Machines – Vagrant creates and configures a lightweight, reproducible and portable development environment. Now, [...]
How To Create Custom Helper Functions in Laravel 5
Laravel 5 comes with many inbuilt helper functions right out of the box. The challenge we have as developers is that we are never satisfied with the status quo , We often crave for more. It’s a very good thing to be an Oliver twist. Several situations may arise to make you want to have your own helper functions, one of which is having [...]
Connect Your Sequel Pro with Laravel Homestead
Laravel Homestead is a vagrant box created by Taylor Otwell to mimic production environment locally. It’s a very awesome tool for developing Laravel applications. Most PHP developers are used to just using PHPMyAdmin to connect to their MySQL databases meanwhile Sequel Pro is also a very good tool for connecting to your MySQL database. [...]