rizwanjaved

rizwanjaved

Member Since 2 Years Ago

Experience Points
780
Total
Experience

4,220 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
2
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 1
780 XP
Jan
24
1 year ago
Activity icon

Replied to Null Value

first print all the request like

$request->all();
or $request->input(); may be

then see either you are receiving key value or not , , ,are you getting image . .??

Jan
04
1 year ago
Activity icon

Replied to JSON Path And Blade

here is an js option you will all the array in your js code then filter that array and create new array then create DOM accordingly

LETS say in js you have array like

var n = [{"buy":"12350.010000","sell":"12300.170000","tag":"2017-12-29"},{"buy":"12209.260000","sell":"12174.990000","tag":"2017-12-29"},{"buy":"12147.790000","sell":"12133.570000","tag":"2017-12-29"},{"buy":"12182.610000","sell":"12143.480000","tag":"2017-12-29"},{"buy":"11983.490000","sell":"11959.920000","tag":"2017-12-29"},{"buy":"12058.670000","sell":"12029.790000","tag":"2017-12-29"}];

then var q = n.filter((x) => x.sale);

then populate that thanks

Activity icon

Replied to Query Builder

i think you can try using something like that expressions

->select(DB::raw('count(*) as user_count, status'))

in your query builder to get the desired results

Jan
03
1 year ago
Activity icon

Replied to Map Eloquent Event To A Dedicated Classes And Get The ID Of The Logged In User

you can get login in user object like Auth::user(); anywhewre in the app dont forget to require it on top use Auth

Aug
16
2 years ago
Activity icon

Replied to Hook Into 'dispatch()'

use job delay , with dispatch

Activity icon

Replied to Problem Changing Routes Returns To Login

may be you are using authenticate trait on each controller, try writing route foreach action other then resource

Activity icon

Replied to Mysql Query To Query Builder

ok m trying to convert it to query builder and laravel way . .

$PFReadings= DB::table('PFContact')
            ->select(`Send`, `Recive`, `Core`, `lock`)
            ->where('UnitID',$a)
            ->get();
foreach($PFReadings as $reading) {
 echo shell_exec('python3 enc.py '.$hdr[$i].' '.$as.' '.$df.' '.$gh.' '.$dp.' '.$a.' l');

}

do somthing like that

Aug
11
2 years ago
Activity icon

Replied to Refresh A DIV In Laravel Every 5 Seconds

try hitting a route via ajax from which you are taking data

Activity icon

Replied to How To Retrieve Data From Multiple Tables With Different Relations

use simple relationship and data using modal::has('relation')->gat(); or user whereHas() instead

or appends whole relationShip results ,

Activity icon

Replied to Specific Queue For Notifications

use

onConnection('someConnection')
Activity icon

Replied to Laravel 5.2 MethodNotAllowedHttpException

seems like its reaching on route but not performing action you must have to send csrf token in the order to work post request just add an extra hidden failds like that in form "

<form>
     <input type="hidden" name="_token" value="{{ csrf_token() }}" />
</form>

Hope this will work thanks

Activity icon

Replied to Method 'to' Not Found In \Illuminate\Support\Facades\Mail

use Illuminate\Contracts\Mail\Mailer;

 public function addApplicant(Request $request, Mailer $mailer)
    {
  $mailer->send('emails.toApplicant', [
                'applicant'              => $applicant,
                'applicationDetailUrl' => $applicationDetailUrl
            ], function ($m) use ($applicant) {
                $m->to($applicant->email, $applicant->name)->subject('Application Submitted Successfully');
            });
}

or if you want to use Mail, u can importing same facade but using it as :

$data = [
            'key'     => 'value'
        ];
        \Mail::send('login', $data, function ($m) use ($data) {
                $m->to('[email protected]', 'rizwan')->subject('Route test!');
        });
        dd(Mail::failures());
```
Aug
10
2 years ago
Activity icon

Replied to Make:model Also Creates A Migration

Should be work as

$ php artisan make:model Settings --no-migration

Model created successfully.