In this tutorial, you will learn how to merge multiple pdf files in your Laravel application. We gonna write a simple PHP script to merge…
2 CommentsTag: Laravel 5
Create a controller called UploadController.php with the following code. Create a view file Create a file called upload.blade.php in the resources/views directory with the below…
Leave a CommentIn this post, I would like to show the different ways to get last inserted ID from the database table when working with Laravel PHP…
Leave a CommentArtisan is the command-line interface included with Laravel. It provides a number of helpful commands that can assist you while you build your application. Here…
1 CommentRecording the last login information is useful and you can easily save and update the last login time and IP address of the client. You…
6 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 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 CommentsUpon 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 CommentsI know we can achieve same with other methods but I am going do it with the Laravel’s Middleware. So let’s create Middleware called ForceHttpProtocol.…
2 CommentsIn this post, I am going to share Laravel installation steps. We Can install Laravel by using composer and Laravel installer. Laravel Installer is a…
Leave a CommentSometimes you may want send the rendered view in the ajax response instead of showing on the browser. To return html in the ajax response…
2 CommentsOne of the Laravel 5 awesome feature is Attribute casting. Casting attribute means changing the attribute values to a particular type. for example Boolean, integer,…
Leave a CommentHere is the simple laravel’s eloquent code snippet to get results in a table when there are no results for the relationship. I have two…
Leave a Comment