arjunphp.com

How To Validate Date Format in Laravel

In this post I would like to show you date format validation in Laravel application, You should always validate forms to ensure that you receive data in good format. Date validation Rules Here is the list of validation […]

Laravel API Token Authentication

If you want to create a simple REST API, secured by web tokens for your mobile application or angular based application, you could develop it with Laravel, with very simple steps. In Laravel 5.2, Taylor Otwell introduced […]

bootstrap 4 carousel with Laravel

Laravel’s Blade templating engine’s @foreach control structure directive has $loop variable which is available inside every @foreach loop. The $loop variable is a stdClass object that provides meta information […]

How can I paginate an array of objects in JavaScript?

Depending on your needs sometimes you may wish to create a pagination with an array of items. This post will teach you, paginating an array objects in Javascript. When manually(Without plugins) paginating, you should manually […]

How to Apply CSS Classes Conditionally in Angular 2

Angular 2 provide different ways to apply class to the elements based on certain conditions. In this post I would like to show you couple of ways to conditionally applying class to a DOM element in Angular 2 with ngClass. […]

How to import outlook contacts to ionic app – Draft

1. Login to Microsoft developer console or you can directly go to the console by clicking following link and crate a application with desired name. 2. Grab the application client ID and secret keys from the Microsoft developer […]

How to get Client IP Address in Laravel 5

Sometime you need to track the ip address of the visitors for different reasons. In this tutorial, I would like to show you, how to get IP address of clients in Laravel application. In PHP you use super global variable […]

Laravel 5 Role Based Access Control using Middlewares

In this post I would like to show you very simple approach to develop a security layer around Laravel routes with custom Middleware. Laravel Middleware Middleware provide a convenient mechanism for filtering HTTP requests […]