arximughal

arximughal

Member Since 3 Years Ago

Lahore Pakistan

Software Engineer at BrandJaws

Experience Points 10,660
Experience Level 3

4,340 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 118
Lessons
Completed
Best Reply Awards 0
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.

15 Feb
6 months ago

arximughal left a reply on Laravel Job Doesn't Get Scheduled With Delay()

@bobbybouwmann Yep. It was cached. It's picking up the connection from the .env now. Thank you ?

arximughal left a reply on Laravel Job Doesn't Get Scheduled With Delay()

@BOBBYBOUWMANN - I guess it was. I'll try again.

arximughal left a reply on Laravel Job Doesn't Get Scheduled With Delay()

Specifying a connection on dispatch seems to work perfectly. Thanks @bobbybouwmann ?

For reference, changed my dispatch to this:

RemoveTorrent::dispatch($torrent)
    ->onQueue('RemoveTorrent')
    ->delay(now()->addMinutes(15))
    ->onConnection('database');

note the onConnection()

arximughal left a reply on Laravel Job Doesn't Get Scheduled With Delay()

@BOBBYBOUWMANN - Changing it to database didn't work ?

arximughal left a reply on Laravel Job Doesn't Get Scheduled With Delay()

@BOBBYBOUWMANN - Queue driver in the .env says

QUEUE_DRIVER=sync

Should I change it to database? I've already created the table in the database (as said in the documentation)!

arximughal started a new conversation Laravel Job Doesn't Get Scheduled With Delay()

I am trying to schedule a job in the queue as described in the example here but it's getting processed immediately.

Here's my code dispatching new job:

RemoveTorrent::dispatch($torrent)
    ->onQueue('RemoveTorrent')
    ->delay(now()->addMinutes(15));

Here's the job:

<?php
    
    namespace App\Jobs;
    
    use Illuminate\Bus\Queueable;
    use Illuminate\Queue\SerializesModels;
    use Illuminate\Queue\InteractsWithQueue;
    use Illuminate\Contracts\Queue\ShouldQueue;
    use Illuminate\Foundation\Bus\Dispatchable;
    
    use App\Services\MyService;
    
    
    class RemoveTorrent implements ShouldQueue
    {
        use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
        
        /**
         * Create a new job instance.
         *
         * @return void
         */
        
        protected $torrent;
        
        public function __construct(Modal $modal)
        {
            $this->torrent = $modal;
        }
        
        /**
         * Execute the job.
         *
         * @return void
         */
        public function handle(MyService $myService)
        {
            //
        }
    }
12 Mar
1 year ago

arximughal left a reply on Creating Drag And Drop Between Two Lists In React(Like A Trello Board)

User react-dnd. It's might be a bit hard to setup at first, but examples and documentation is awesome. Check the repo here: https://github.com/react-dnd/react-dnd

Example: https://ibb.co/exmocn

03 Oct
3 years ago

arximughal left a reply on Homestead.yaml Is Not As Same As In The Docs And Laracst?

Okay. I'll delete this post and generate a new key. Thanks @ohffs

02 Oct
3 years ago

arximughal left a reply on Best Domain Registrar (Best Place To Buy Domain)

I'd recommend namecheap.com Cheap and better than others. You can buy a .io domain from google for $60/year or buy the same domain from namecheap.com for only $32.88/year.

arximughal started a new conversation Homestead.yaml Is Not As Same As In The Docs And Laracst?

I just created a public key with my email in my homestead.yaml file on windows inside my xampp/htdocs/code. But it only shows my private key in the homestead.yaml file. It's not as same as mentioned in the docs and in the videos on laracast. Do I need to re clone the homestead in my directory or what? I am following instruction line by line as in the laracst beginner videos i watched on this website.