As part of Laravel 5.5 version release, Laravel introduced new blade directives called @auth and @guest.As the name implies both can be useful to determine…
3 CommentsCategory: PHP / MySQL
Laravel offers two new useful debugging methods dump() and dd() as part of Laravel 5.5 version release. These methods are added to Collections, it means…
Leave a CommentLaravel 5.5 includes a new `Optional` class with a new helper() function, which you can think of as a generic null object implementation. The point…
Leave a CommentLaravel 5.5 is introduced a new feature called dynamic view loading and it makes your controllers simple and more expressive when dealing with dynamic templates.…
Leave a CommentWe gonna use barryvdh/laravel-dompdf Laravel package to generate PDF files from view file. This package is just a wrapper around DOMPDF library. Installtion Use below…
1 CommentLaravel 5.5 introduced new Router class method called redirect, which gives the flexibility to redirect to other URLs directly without creating a controller or closure.…
Leave a CommentLaravel 5.5 introduced new Router class method called view, which gives the flexibility to render the view file directly without creating a controller or closure.…
Leave a CommentYou can easily change created_at and updated_at column names by overriding CREATED_AT and UPDATED_AT constants in your Eloquent model. Example #Task Model Let’s assume you…
Leave a CommentGiving 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 CommentIn 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 CommentsCreate a brand new Laravel Project with below command $ composer create-project laravel/laravel todo 4.2 –prefer-dist Configure Your Database Open config/database.php file and update it…
Leave a CommentToday I would like to show you Ajax login functionality implementation using PHP and MySQL. We gonna use the MySQL PDO driver in this tutorial.…
12 CommentsIn this tutorial, you will learn what is a prime number and how to check whether the given number is a prime number or not…
Leave a CommentIn this post, I will show you a very simple and powerful approach to creating cascading dropdowns in your CodeIgniter application. Cascading drop-down? A cascading…
2 Comments