arximughal

arximughal

Member Since 3 Years Ago

Lahore Pakistan

Software Engineer at BrandJaws

Experience Points 10,460
Experience Level 3

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

15 Feb
1 month 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 = $torrent;
        }
        
        /**
         * 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

![React-DND Example](https://preview.ibb.co/jMqEHn/react_dnd.gif"React-DND Example")

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. here's the content of my homestead.yaml file:


-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAr6oybPJ26/4M2Qmqdcdvx1suieg3jwL3xOnGsCEttTAdbuf7
nvHuW8xc7CBe5uZZf6wUHkxeCy238JGavIJ6U1L2U59Kc7BoeziM4BrQ93q8FBAY
S8F4g+9n13BBCIbur85O/97Rb3ax7gCEe9aQS5KU9TV7+l8Oj0hyhqGD3++XWow0
7vKNV/PbB3PKAG3Lgh6GewKi8F+27SEwXgP9Um/QoZjpEk4Yz00mBEtpYvZaOXGl
FoGJQ3yUtSHi+dzLZ+FoAUVn70YR2AsRbqaXSn+sZ9b34rbqrMOzUiRItgYXm8WP
Kma/qhFnTb7mn0DQGZa3IUpuDC7arP+/GSoWiQIDAQABAoIBAQCqPK6RlohZO+MH
kq53ZceV02/OhhURqzaixkue9Qhuxyo/COJ4rszoeayzyMsvyZyCdikpE6kv/CZ+
JR1oAqq5hXTipURpyVP31l3v8Q0CSRdr+g0RnXVFpwVja44azWkTR0SYAz/EXash
k67QtKcyFeP1ntd/VA+wG+2hO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is this fine? or I need to do something else as well? I am following instruction line by line as in the laracst beginner videos i watched on this website.