mehedi

mehedi

Member Since 2 Years Ago

Natore

Experience Points
5,140
Total
Experience

4,860 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
40
Lessons
Completed
Best Reply Awards
1
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 2
5,140 XP
May
02
5 months ago
Activity icon

Started a new conversation Process 10000 Of Jobs Per Minute.

Hi Developers !

I want to process 10000 jobs per minute. And those per job are take one or half second.

So how can I process those huge amounts of job on a little bit of time.

Apr
10
6 months ago
Activity icon

Started a new conversation Laravel Mix Hot Module Replacement Not Working

Hi !

I am facing some problem about laravel mix hot module replacement. Everything is good as it is. But when I update my vue file then error occurred on browser console.

alt text

Mar
05
7 months ago
Activity icon

Replied to FindOrFail();

When you use only find method it's return null when no data found. But and when you use findOrFail method it's throw an Exception when no data found.

Jan
07
9 months ago
Activity icon

Started a new conversation Fingerprint

Hay developers !

I want to connect zkteco fingerprint device on my laravel application. But I don't know where do I start .

Any library or something else ?

Dec
21
1 year ago
Activity icon

Started a new conversation Get Nested Category And Sub Category

Hi Experts !

I am using MySql Database. And I am now working on Category and Sub Category data handling.

My database table's looks like


| id                | name           | parent_id  |
| ------------- |:-------------- :| -------------:|
| 1                  | Category 1  | null            |
| 2                 | Category 2  |   1                |
| 3                 | Category 3  |    2              |
| 4                 | Category 4  |    2             |
| 5                 | Category 5  |     3             |
| 6                 | Category 6  |    4             |
| 7                 | Category 7  |    4             |

My problem is unlimited category and sub category nesting. I've searched a lot about this at Google. But I can't find any result which can satisfied me.

Now let me say what I want

#Given ID => 4

Expected result

| id                | name           | parent_id  |
| ------------- |:---------------:| -------------:|
| 1                  | Category 1   | null            |
| 2                 | Category 2  |   1                |
| 4                 | Category 4  |    2             |
| 6                 | Category 6  |    4             |
| 7                 | Category 7  |    4             |

That mean's It's return all parent category and all children category.

Thank's

Activity icon

Replied to Homestead And Apache Server

Thank You Very Much! @ejdelmonico

Nov
09
1 year ago
Activity icon

Started a new conversation Homestead And Apache Server

Hi Experts!

I have a little problem about Laravel Homestead. I use laravel homestead few days ago and it version is 3.1.0.

It provides me nginx Server but today I remove this and install apache server. And when I boot up homestead and access my project url via Browser it shows me apache default page.

apache document root is /var/www/html

But Homestead document root is /home/vagrant/Code

So how can I configure this properly ????

Nov
08
1 year ago
Activity icon

Replied to Translate Date Using Carbon

Thank you very much to clear about Localization and Translation. @tisuchi

Activity icon

Started a new conversation Translate Date Using Carbon

Hi Experts!

I have a little problem about carbon localization. It's perfectly work when I use like


Carbon::setLocale('bn');

Carbon::now()->diffForHumans();

But when I trying this way it will return English

Carbon::setLocale('bn');
Carbon::now()->year
Output: 2017. But I expect ২০১৭.

So how can i get my expected value using carbon localization ????

Regards Mehedi Hasan

Jul
23
2 years ago
Activity icon

Started a new conversation Group By Sum On Laravel Relationship

Hi experts !

I have a some problem about laravel belongsToMany Relationship.

My database table structure are ...

investigations -> id, name
tests_category -> id, name
tests -> id, category_id, name, price
invetigation_test -> investigation_id, test_id (pivot table)

Model eloquent model looks like

** Investigation **


public function services(){
    return $this->belognsToMany(Test::class);
}

** TestCategory**


public function tests(){
    return $this->hasMany(Test::class, 'category_id');
}

** Test**


public function category(){
    return $this->belongsTo(TestCategory::class, 'category_id');
}

public function investigations(){
    return $this->belongsToMany(Investigation::class);
 }  

So I want to some investigation and with there all test.price sum group by test.category_id. But how ?????

Mar
28
2 years ago
Activity icon

Replied to Create Word File On Laravel

Please provide a link ..... @MalaniDerrick

Activity icon

Started a new conversation Create Word File On Laravel

Hi

How can I use PHPWord Library on Laravel Framework ????

I can't find any Service Provider on this library. I mean what process I follow to binding PHPWord class on my Laravel Application. !!!!!

Feb
26
2 years ago
Activity icon

Started a new conversation Month Start Day And Last Day Modify

Hi !

I have a simple problem here . Please anyone suggest how can i do this .. like ..

When current month date is 25-2-2017 or less, then set month first day is 25-1-2017 and when current month date is grater then 25 like 26-2-2017 then set current month first day is 26-2-2017 and last day is 25-3-2017 .

How can i do this dynamic continuous process ..

Regards

Mehedi Hasan

Feb
22
2 years ago
Activity icon

Started a new conversation Synchronize Data On My Database

Hello !

I have a eCommerce sites order API. Which is a long JSON Object . Every day it will be updated. I mean some new data append this JSON Object.

My question is how can i insert this data on my other database table. It contain various data field but order ID is Unique on every row . I actually want to synchronizing data to this API and my database table. How can i do this process using Laravel Eloquent ORM.

Regards

Mehedi hasan

Feb
06
2 years ago
Activity icon

Started a new conversation Laravel Route

Which will be loaded firster ???

Route::get('users', [
    'uses' => '[email protected]',
    'as' => 'user.index',
    'middleware' => 'auth'
]);
Or
Route::get('users', '[email protected]')->name('user.index')->middleware('auth');