Hi there! I'm Mostafa Amine Briere

A passionate Full Stack Web Developer who loves tackling challenges and sharing my knowledge.

Latest Tips

More β†’
Laravel

Streamline Collection Operations with Higher Order Messaging πŸ’‘

```php // instead of writing $admins = $users->filter(function (array $user) { return $user->is_admin; }); // You can simply write: $admins = $us...

Read more
Javascript

Javascript Object || Array Destructuring πŸ’‘

Destructuring allows you to unpack values from arrays or objects in a breeze. Here's an example: ```javascript const person = { name: 'Alice’, age:...

Read more
Laravel

Business Days Calculator πŸ’‘

```php class BusinessDaysCalculator { private $holidays; public function __construct(array $holidays = []) { $this->holidays = co...

Read more
Laravel

Database Refresh Command πŸ’‘

```php <?php namespace App\Console\Commands; use Illuminate\Console\Command; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Artis...

Read more
Laravel

Using loadCount for Relationship Count Queries πŸ’‘

Using the loadCount method, you may load a relationship count after the parent model has already been retrieved. ```php $post = Post::find(1); // Ea...

Read more
Laravel

Using the withCasts method for dynamic attribute casting πŸ’‘

Laravel's Eloquent ORM allows you to cast attributes to native types, but sometimes you might want to apply casts dynamically based on certain conditi...

Read more

Latest Projects

More β†’
Projects

Brasent - Delivery Service

## Project overview Brasent is a comprehensive delivery platform designed to simplify and streamline the entire process of managing deliveries, pickup...

Read more
Projects

My Coach Pro Project

## Project overview MyCoachPro is a course platform that allows instructors to publish their courses and enables students to register for and particip...

Read more