rizwanjaved

rizwanjaved

Member Since 1 Year Ago

Experience Points 780
Experience Level 1

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 Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

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

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

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

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    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 Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

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

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

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

24 Jan
1 year ago

rizwanjaved left a reply on 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 . .??

04 Jan
1 year ago

rizwanjaved left a reply on 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

rizwanjaved left a reply on Query Builder

i think you can try using

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

in your query builder to get the desired results

03 Jan
1 year ago

rizwanjaved left a reply on 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

16 Aug
1 year ago

rizwanjaved left a reply on Hook Into 'dispatch()'

use job delay , with dispatch

rizwanjaved left a reply on Problem Changing Routes Returns To Login

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

rizwanjaved left a reply on 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

11 Aug
1 year ago

rizwanjaved left a reply on Refresh A DIV In Laravel Every 5 Seconds

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

rizwanjaved left a reply on 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 ,

rizwanjaved left a reply on Specific Queue For Notifications

use

onConnection('someConnection')

rizwanjaved left a reply on 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

rizwanjaved left a reply on 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());

10 Aug
1 year ago

rizwanjaved left a reply on Make:model Also Creates A Migration

Should be work as

$ php artisan make:model Settings --no-migration Model created successfully.