Recent Articles

How to Navigate to Previous Page in Angular

How to Navigate to Previous Page in Angular

In Applications, Sometimes we like to offer users a way to navigate back to where they had been before.

Automatically Unsubscribing Angular Observables

Automatically Unsubscribing Angular Observables

Whenever you need to automatically unsubscribe observable to avoid memory leaks, you can use @ngneat/until-destroy package.

Angular Material MatTable Data Sorting

Angular Material MatTable Data Sorting

Angular Material MatTable Provides great flexibility to perform multiple operations on data. you can easily apply filter, sorting, pagination and many...

Bind data to MatTable Angular Material

Bind data to MatTable Angular Material

Angular Material MatTable is very easy to use, populate data in a MatTable is simply easy to use, Angular material also provides great flexibility to...

Laravel Eloquent “Has”, “With”, “WhereHas”, What do they mean?

Laravel Eloquent “Has”, “With”, “WhereHas”, What do they mean?

Relationships also serve as powerful query builders, defining relationships as methods provides powerful method chaining and querying capabilities.

Laravel eloquent relationship with different table name and table fields for belongsToMany using pivot table?

Laravel eloquent relationship with different table name and table fields for belongsToMany using pivot table?

Implementation of belongsToMany relationship with pivot table that has different naming to their table name and column fields.

Enable gzip compression

Enable gzip compression

Compression allows your web server to provide smaller file sizes which load faster for your website users.

Laravel using where clause on a withCount method

Laravel using where clause on a withCount method

Eloquent has one less-known function called withCount(): it helps to get the amount of related records inside of the main object. It also works with t...

Working with files in laravel

Working with files in laravel

Laravel provides a powerful filesystem abstraction thanks to the wonderful Flysystem PHP package by Frank de Jonge. The Laravel Flysystem integration...

How to send email in laravel?

How to send email in laravel?

Laravel provides a clean, simple API over the popular SwiftMailer library with drivers for SMTP, Mailgun, Postmark, Amazon SES, and sendmail, allowing...