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…
Leave a CommentTag: Laravel 5.x
This post is going to be about downloading files from the remote server via FTP mechanism in your Laravel application. Let’s create a controller called…
9 CommentsThis tutorial provides an example of building a complete RESTful API using Laravel 5.5.* Framework. You gonna use the different HTTP methods during the REST…
36 CommentsLaravel provides pagination for Eloquent results out of the box, but for custom data, we need to do the pagination manually. In this tutorial, I’ll…
13 CommentsLaravel5.3 is coming with following new features, 1. Rollback one migration 2. Blade Foreach Loops (new $loop variable) 3. Eloquent Collections are cleanly serialized and…
Leave a CommentIn Laravel world, a facade is a class that provides access to an object from the container. Laravel “facades” serve as “static proxies” to underlying…
3 CommentsFor small-scale applications single route file is sufficient but large-scale applications its cumbersome to maintain and organize the routes. The solution for this was creating…
1 CommentToday I would like to write about one of the little-known features of laravel eloquent called “replicate”. To copy everything from existing row we just…
4 CommentsLaravel’s route model binding has been around for a while, but Laravel 5.2 is about to make it even easier with Implicit model binding. Implicit…
Leave a CommentRecently I have migrated core PHP application to the Laravel5 framework. The old application used SHA1 encryption so I have implemented Hashing contracts of laravel5…
2 CommentsIn this tutorial, I will show you how to add a custom PHP class in Laravel 5.x application. For example, Lets call our class Common.php.…
8 CommentsEnabling and disabling maintenance mode in Laravel 5 is simple, you just need to issue following artisan commands – To enable maintenance mode php artisan…
Leave a CommentIn this post, I would like to show you creating polymorphic relationships in the Laravel5 application. Probable polymorphic relationships are the most advanced eloquent relationships…
Leave a CommentUpon successful login you can get current user details by called Auth::user() method. It will return null if no user logged in or there is…
2 Comments