July 22, 2019
July 12, 2019
If you want to check if the eloquoent model has certain relationship or not and fetch the results accordingly while querying upon it, you can do this by two approaches in the Laravel Eloquent.
July 6, 2019
When you’re building an Laravel application which uses APIs at some point, it’s no brainer to use Laravel’s resource classes as it provides the transformation layer that sits between your Eloquent models and the JSON responses that are actually returned to your application’s users.
June 30, 2019
Let’s just admit this. If you’re a developer who works with PHP and you haven’t heard about PHPStrom, you’re assumed to be living in the rocks. Because PHPStrom is the best PHP IDE exist right now IMHO. The tagline on the homepage of it reads as “The lightening-smart IDE for PHP” and it’s really true. It has got all the features you’d need in order to become a fluent PHP programmer.
June 18, 2019
In this article, we suggest you to get acquainted with the free editor for web languages called Codelobster IDE. It has been there in the software markets for a long time already, and it wins a lot of fans.
June 16, 2019
Laravel’s Eloquent ORM comes with this unique set of features called “Scopes” which can be used to re-use some of the query constraints onto all the queries of a certain model. This can be useful to minimize the code while writing the query and is an easy way to make sure every query for a given model receives certain constraints.