PHP is one of the most popular scripting languages on the web today. According to W3Techs, PHP is used by over 78% of all the websites who use a server-side programming language. This means for almost every 8 out of 10 websites you visit, they are most likely utilizing PHP in some form or another which also means that PHP is not dead. And of course, it plays a very vital role as it pertains to the WordPress ecosystem, as the entire CMS is built on PHP.
Damn, but security is hard. It’s not always obvious what needs doing, and the payoffs of good security are at best obscure.You should build your web apps protective enough to have no security issues or loopholes, thus eradicating the possibility of any malicious attack. In most cases, the developers must take the responsibility and put in every possible effort to identify the vulnerabilities and propose solutions, if any to address the issues prevailing in the apps. PHP is a popular
Known fact that page loading speed is an essential factor for any site. Users are not willing to wait for long pages response and in the worst cases they can leave your site. Search Engines reduce page rank of your site when the speed is too slow; this results in fewer visitors from Search Engines. And, yes, as the site administrator you’ll feel irritation, if you have to wait a long time while managing your site, knowing that this process can be accelerated. All the ways to speed up yo
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&
The Laravel team released Laravel 5.7.26 on 12 Feb 2019 with a new pipeline method and a method to temporarily bypass model events. First, a new Pipeline method thenReturn was added by Tim MacDonald to allow additional work do be done on the object passed through: // Priviously $users = app ( Pipeline : : class ) ->send ( User : : query ( ) ) ->through ( $pipes ) ->then ( function ( $query ) { return 
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
What's new in 5.7? What improvements were made? Learn how to build better PHP applications with this new release. In this article, I'll cover the new features in Laravel 5.7 and several other changes and deprecations. 5.7.18 Released Laravel 5.7.18 is available in December 2018 with the latest updates to the Laravel framework v5.7. First, the framework now replaces all placeholders for the starts_with validation rule introduced in Laravel 5.7.15. A new Facade: