Giving download option to the user is a pretty common requirement in today’s web apps for the variety of reasons. For example, if your application…
Leave a CommentTag: Laravel 5.x
In this post, I will show how easy it is to use API resources to build REST APIs. In the previous Laravel REST API tutorial,…
3 CommentsIn Laravel 5.5 a new Artisan command added to migrate: namespace. This is similar to the existing migrate:refresh option, however, rather than rolling back your…
Leave a CommentLaravel utilizes the DotEnv PHP library by Vance Lucas. Using this library we can easily configure the application settings and we can have different configuration…
Leave a CommentHere I am gonna show you few artisan commands which will help you to clear different caches in your Laravel application. Clear Application Cache To…
2 CommentsI will show you, how is easy it is to convert base64 format image to image. All you have to extract the base64 image data…
3 CommentsIn the previous posts I have covered two Laravel 5.4 features called “Laravel 5.4: Fluent Routing” and “Laravel 5.4: New middlewares – TrimStrings and ConvertEmptyStringsToNull.…
Leave a CommentLaravel 5.4 has released another pretty cool routing improvement. In this post, I would like to show you the improved fluent Registering Routes. In the…
Leave a CommentLaravel 5.4 shipped with two new middlewares called TrimStrings and ConvertEmptyStringsToNull TrimStrings middleware – automatically trim all the request data. ConvertEmptyStringsToNull middleware- automatically convert all…
Leave a CommentIn this post, I would like to show you date format validation in Laravel application, You should always validate forms to ensure that you receive…
Leave a CommentIf you want to create a simple REST API, secured by web tokens for your mobile application or angular based application, you could develop it…
1 CommentLaravel’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…
7 CommentsIt’s always better to ask for the confirmation while deleting items with alert prompt. So here I am gonna show you, how to show the…
Leave a 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 CommentsSometimes you need to track the IP address of the visitors for different reasons. In this tutorial, I would like to show you, how to…
Leave a Comment