Writing modular code has always been a key point for me when I do development for my own internal project and when I am working on a project in my office. And creating composer package is the best way to ensure that our code is modular and can be not only used by us but others in the community as well. So, in this series, I am going to start from the very beginning of how to create a package inside a Laravel installation to finally publishing it to packagist.
Consider a situation where you have developed an application in Laravel and now you want to host it. Shared hosting is really going to be a painful thing to do considering there is limited to no shell access. And many developers may not know the entire inert of how to setup apache, ec2 with ubuntu etc and get started. So in this video, I am going to show you how you can go ahead and setup your Laravel application along with all the necessary tools inside an EC2 instance created inside a Virtual Private Cloud in Amazon Web Services.
Social login in any application today is one of the most common feature. To have a login for every application on the web is really not something today’s user look at. And so in this tutorial I will guide right from the basics of creating an app on Facebook setting up the Laravel instance to actual implementation. Continue reading “Facebook login in Laravel using Socialite”
In this tutorial, I am going to show you how to use View Composers in Laravel to create views which are independent. We map the view with a class which provides the required data for the view to render and so, we don’t need to pass any additional data through the controller while rendering the view. So, without wasting much time let’s dig into the code.
Repository pattern in Laravel has become a very popular way of coding. When we know that our application is going to grow or specially when we are making an application which is database agnostic, repository patter helps us in development. Continue reading “Repository pattern in Laravel 5”
Have a clean controller and shift your entire validation and autherization logic in a separate class using Laravel’s Form request class. Continue reading “Form request, Validations and clean controller in Laravel”
In this video I will show you how to use the Angular JS bootstrap light box and also the cool Angular JS loading bar library to make our Gallery look sleek and polished. Continue reading “AngularJS Lightbox and Loading bar to show the gallery images in modal – Ep14 – SPA Laravel & AngularJS”
In this tutorial, we will create a thumbnail and a medium size image and a thumb image from the main uploaded image and then upload the image to S3 bucket. Continue reading “Use Intervention to resize images and implement Angular Lightbox – Ep13 – SPA Laravel & AngularJS”