Smooth image upload and resize in laravel

Smooth image upload and resize in laravel

I find myself adding image upload and resize feature in most of the app I build. Laravel comes already packed with very easy file upload, but things get complicated as soon we need to manipulate the uploaded image. In this post, I will show you how you can make uploading and resizing image process buttery smooth. Continue reading…

Managing-user-timezone-in-laravel-app-v1

Managing users timezone in a Laravel app

If you are having a hard time managing users timezone in your laravel app you are in right place. In this post, I will be showing ways to manage users timezone. We will create a simple laravel application in which we will guess users timezone from the front end and store in users table to format all the timestamp based on this timezone. Continue reading…

Save laravel app settings in database

Save laravel app settings in database

I this post I am going to share one feature which most of the application have these days to change certain settings using UI, it can be implemented in many ways but one way I find doing is to store settings in the database and provide an auto-generated form to change the settings.

Continue reading…

Ready to use UUID in your next laravel app?

UUID stands for Universal Unique Identifier, it has been used to generate a unique id which is a 128 bit long numbers represented by 32 hexadecimal digits. Mostly used in software development to uniquely identify information with no further context. Continue reading…

Laravel-View-Composer-to-share-data-in-partial-views

Use Laravel View Composer to share data in partial views

Ever been in a situation where you have to share some data with multiple views? I have. If you are passing it in every controller pretty soon it will get very messy since you end up duplicating same code in multiple controllers which is against the DRY principle. Let’s learn about view composer provider by Laravel which eliminate this issue and gives you a single place to attach your logic for view data. Continue reading…

Reusable-upload-component-in-Laravel-with-Dropzone

Reusable upload component in Laravel with Dropzone.js

In this post we will create a blade component which we can reuse in any application where we want a file uploader, we will use Dropzone.js to add drag and drop uploading functionality, and laravel as a backend to store the uploaded file, It can upload an image or document which will be configurable using a config file. Let’s get started.

Continue reading…

TDD-API-for-Project-management-app-with-Laravel

TDD API for Project management app with Laravel

Getting started with TDD can be intimidating at first since there are many new terms and jargons which makes difficult to even get started for a new commerce. In this post let’s take a very practical approach by building a Project Management app API with TDD on Laravel. Continue reading…

Building-front-end-for-Twitter-Like-app-on-VueJS

Building front-end for Twitter Like app on VueJS

In the previous post we have built our GraphQL API using Laravel, now let’s focus on the front end and build the Twitter like app using Vue.js, Vuex & Vue router, it will be a completed SPA app, only the auth part will be taken care by laravel out of box authentication, once user logs in then we will load our single page application which we will create in this post using Vue. Continue reading…

Build-API-for-Twitter-like-app-using-GraphQL-in-Laravel

Build API for Twitter like app using GraphQL in Laravel

Recently I have been working on something very amazing for API development, everyone has been using REST to access API, but now things are changing, in the front-end heavy world where things are consistently growing and new features added every week a fixed REST API is not very good option anymore, so what we need then? the answer is GraphQL. Let’s dive into details of this amazing query language and build a Twitter like app API in Laravel using GraphQL. Continue reading…

OAuth-login-using-Facebook,-Google,-Twitter-and-Github-with-Laravel-Socialite

OAuth login using Facebook, Google, Twitter and Github with Laravel Socialite

These days majority of web apps delegate authentication to other providers like Facebook, Google, Twitter, Github and many others. By using OAuth we don’t have to worry about storing user credentials on our server and gives user flexibility to use the same account to authorize on multiple platforms. Continue reading…