Laravel REST API How to use Laravel Responsables to standardize API responses March 2, 2023 Navid Anjum Laravel Responsables is a Laravel feature that lets you standardize API answers. It allows you to set an uniform response format for your API endpoints in your application. You must…
Laravel Send WhatsApp Messages in Laravel With Vonage’s Native SDK February 28, 2023 Navid Anjum To send WhatsApp messages in Laravel with Vonage’s native SDK, follow these steps: composer require vonage/client VONAGE_API_KEY=your_api_key VONAGE_API_SECRET=your_api_secret VONAGE_WHATSAPP_NUMBER=your_whatsapp_number Replace your_api_key, your_api_secret, and your_whatsapp_number with your Vonage API key, API…
Database Eloquent Laravel How to use subqueries in laravel 9 December 25, 2022 Navid Anjum Subqueries are useful in Eloquent ORM by Laravel for a number of things. You could utilize subqueries in the following situations, for instance: Advanced filtering Subqueries can be used in…
Eloquent Laravel Tips to minimize Laravel Eloquent’s memory consumption December 24, 2022 Navid Anjum When utilizing Laravel Eloquent, there are a few methods you may reduce memory use: Chunk technique handle huge datasets by breaking them up into smaller chunks using the chunk technique,…
Eloquent Lazy loading vs eager loading in laravel December 23, 2022 Navid Anjum In Laravel, “lazy loading” and “eager loading” relate to two distinct methods of loading model relationships. To create a relationship with lazy loading in Laravel, specify the relationship on your…
Eloquent Laravel Tips to Improve Laravel Eloquent Performance with Eager loading December 20, 2022 Navid Anjum Eloquent performance patterns are tactics and approaches that may be used to improve the performance of an application that employs the Object-Relational Mapping (ORM) component of Laravel Eloquent to communicate…
Database Laravel Polymorphic One of Many Relationship in Laravel December 5, 2022 Navid Anjum When a model is linked to a variety of different models, but depending on the circumstance, we want to connect the most recent, the oldest, or a custom model. Let’s…
Database Laravel Polymorphic One to One Relationship in Laravel December 1, 2022 Navid Anjum Polymorphic One to one When one child model belongs to more than one parent model, this is referred to as polymorphic one-to-one. Assume a cat belongs to a neighborhood and…
Blade Laravel Blade templating with Laravel 9 November 16, 2022 Navid Anjum Laravel is a robust PHP web framework for building dynamic web applications. The powerful templating engine blade is provided by Laravel. With Laravel 9, released in January 2022, comes a…
Database Laravel Detail explanation of the Eloquent relationships with Laravel 8 & 9 November 12, 2022 Navid Anjum There are different types of relationships in Laravel. We have given a detailed explanation of the eloquent relationship with Laravel One To One Eloquent Relationship An owner may have one…