Laravel Security Best Practices for Your Website

Laravel Security Best Practices for Your Website

Laravel is known to be a secure PHP framework for creating websites and applications. Those with a need for high levels of protection often choose Laravel. We will review the key Laravel security features that will help you keep your website and business safe. You might also like: Ultimate PHP Security Best Practices Laravel Security Features Laravel’s security feature ensures that developers can now use virtually every aspect of the process safely. Furthermore, all the

Laravel 5.8 - What’s New in Laravel 5.8?

Laravel 5.8 - What’s New in Laravel 5.8?

Introduction: PHP laravel introduce new version laravel 5.8 with new features. laravel 5.8 is released now and available for all. laravel 5.8 added new feature like cache TTL changes and lock, Deprecate string and array helper methods, update email validation, Automatic Policy Resolution, PHP dotenv, added firstWhere function in collection, database mysql json value etc. As always, before upgrading a Laravel version, be sure to carefully read and understand the upgrade guides&nbs

Laravel Eloquent Amazing Tips and Tricks

Laravel Eloquent Amazing Tips and Tricks

Certain tasks within Laravel’s Eloquent ORM can become very repetitive and tedious within larger applications.There’s a lot of semi-hidden functions and less-known ways to achieve more with it. In this article, I will show you a few tricks. Increments and Decrements Instead of this:   $article  =  Article :: find ( $article_id ) ; $article-> read_count++ ; $article-> save ( ) ;     You can do this:   $article&

Laravel 5.7.23- Again What’s New in Laravel 5.7?

Laravel 5.7.23- Again What’s New in Laravel 5.7?

The Laravel team and contributors released Laravel v5.7.23 on 29th Jan 2019, along with a fix release for the ResetPassword  notification in v5.7.24. The bulk of the new changes are in v5.7.23: First, the AbstractPaginator::getOptions()  was added to retrieve the original paginator options which are now stored in an $options  property. Next, an orWhere proxy method was added for scopes in the EloquentBuilder, with a new class introduced to&nb

Laravel 5.7.17 Accessible – Check new features in laravel 5.7

Laravel 5.7.17 Accessible – Check new features in laravel 5.7

Laravel 5.7.17 is accessible with new query builder methods, a new message for detecting lost connections in MariaDB, and improvements to adding foreign keys in Postgres. First, we have a new method in the query builder for the INSERT INTO SELECT statement, without loading data into memory. The insertUsing() method allows you to copy all (or some) columns from one database table to another using the following syntax:     $builder-> from ( ' table1 &#

Laravel 5.7.16 Released- What’s New in Laravel 5.7?

Laravel 5.7.16 Released- What’s New in Laravel 5.7?

Laravel 5.7.16 is available with new translation messages for the 403 and 503 blade templates and enabling the migrator to accept not only migration directory paths but also file paths too. First up, the 403.blade.php file now has a translatable exception message and fallback:     @section ( ' message ' , __ ( $exception -> getMessage( )   ? :  __( 'Sorry,  you  are  forbidden 

Laravel 5.7.13 Released- Advance Idea Infotech

Laravel 5.7.13 Released- Advance Idea Infotech

Laravel 5.7.13 was released on 7th Nov 2018 with some new collection methods and the ability to return an array of messages in a custom validation rule. First, new empty collection methods were added, including  whenEmpty, whenNotEmpty, unlessEmpty, and unlessNotEmpty.  For example, the whenEmpty method will fire this callback on an empty collection:     use Illuminate\Support\Collection ; $collection  =