Today, Laravel is a very powerful framework of PHP. Because of it’s vast available & scalable libraries/packages & developer’s full control on the project, It is now a new trend in PHP Web Development. On September 4th, 2018 Laravel has released it’s new edition i.e. Laravel 5.7 with some new features. Which make development more easy, fast and flexible. Laravel 5.7 Changes Log Laravel 5.7 continues the improvements made in Laravel 5.6 by introducing Laravel Nova. Optional email verification to the authentication scaffolding. Support for guest users in authorization gates and policies. Console testing improvements. Symfony dump-server integration. localizable notifications. Variety of ther bug fixes and usability improvements. Today, In this article we will discuss one of the new features of …Read More
We have been much time need to get executed query log or you want to get last executed query or maybe if you want to display SQL query from Laravel query builder then you can do it that. so I have 2 examples for display executed query in Laravel 5.6. When you are working on Laravel application at that times, I think you need much time to print last run query or if you want to check direct from phpMyAdmin SQL box, so at that time you have to follow these 2 examples. So, let’s see 2 examples of getting SQL query from Laravel Query Builder. Example 1: In this example, we can get directly get current SQL query using …Read More
Laravel is a very powerful framework of PHP. It gives full control to developers to tackle any request. Laravel makes it easy to protect your application from cross-site request forgery (CSRF) attacks. Sometime in your project, you may need to disable the CRSF protection for particular routes/URLs. You can turn off CRSF protection by editing VerifyCsrfToken.php file. In Laravel, open app/Http/Middleware/VerifyCsrfToken.php file and you can add specific URLs to $except array. The CSRF middleware is automatically disabled when running tests.
* The URIs that should be excluded from CSRF verification.
* @var array
protected $except = ['abc/*',
Source: https://laravel.com/docs/5.7/csrfRead More
अपना Windows Computer कैसे किसी भी Mobile पर खोले? | Access your window computer on any mobile Today, in this video, I’ll show you, how you can access your localhost projects/sites on any mobile phone i.e. Android, iPhone, etc.” By doing this, you can do real-time testing for your project on a mobile phone without uploading the code to any staging/live server. You can test mobile events, camera and lots of functions. Video Source Hopefully, you have successfully connected your localhost to the mobile phone. Please don’t forget to subscribe, share and like our YouTube channel – CoderDen.Read More