webmaster.vinay

webmaster.vinay

Member Since 2 Years Ago

Experience Points
3,790
Total
Experience

1,210 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
35
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.

Level 1
3,790 XP
Sep
02
1 month ago
Activity icon

Replied to Edit Forge Nginx Config Programmatically

You are a life saver! How can I miss this API documentation! Thanks

Activity icon

Commented on Modify Your Nginx Configuration

Hello there!, Is there any way to edit the same nginx config located at etc/ngnix/sites-available/{site} programmatically?

Activity icon

Started a new conversation Edit Forge Nginx Config Programmatically

Hello Everyone, There is a feature in forge interface where the site nginx config can be edited. But is there any way to edit the same nginx config located at etc/ngnix/sites-available/{site} programmatically?

Oct
06
2 years ago
Activity icon

Started a new conversation Issue With Laravel Response Download And Axios Post

I am using Laravel 5.5 with Vue.js 2.4. This SPA uses Axios library for request. I was trying to post Axios request and on successful operation, one file was supposed to be downloaded.

Here is my axios post request

axios.post('/api/download/file',{id:id})
    .then(response => {
         console.log(response.data);
    }).catch(error => {
         console.log(error.response.data);
    });

My controller method is as following:

public function download(){
    $download_path = storage_path('app/'.$id.'.zip');

    $headers = ['Content-Type: application/zip','Content-Disposition: attachment'];

    return response()->download($download_path, $id.'.zip',$headers);
}

On request, file dialogue is not opening nor the file is downloaded. However the contents are sent back to the success response.

How file can be downloaded using Axios post & Laravel response()->download() method? Any help will be appreciated. Thanks in advance.

Jan
27
2 years ago
Activity icon

Replied to Laravel 5.4 Call To Undefined Function Session::getMetadataBag()

Session::all() doesn't carry last use record like below:

array:4 [▼
  "_token" => "SQjQpOxCec5lal5tzFgW1FMtrcOaaIqjoii2fuCb"
  "_previous" => array:1 [▼
    "url" => "http://larafy/install"
  ]
  "_flash" => array:2 [▼
    "old" => []
    "new" => []
  ]
  "lang" => "en"
]

while Session::getMetaDataBag carries below record:

MetadataBag {#582 ▼
  -name: "__metadata"
  -storageKey: "_sf2_meta"
  #meta: & array:3 [▼
    "u" => 1485527838
    "c" => 1485527838
    "l" => "0"
  ]
  -lastUsed: 1485527838
  -updateThreshold: 0
}

Activity icon

Replied to Laravel 5.4 Call To Undefined Function Session::getMetadataBag()

Is there alternative to get Session data?

Activity icon

Started a new conversation Laravel 5.4 Call To Undefined Function Session::getMetadataBag()

In version 5.3, this Session::getMetadataBag() was working good to fetch the Session data but after upgrade it is throwing error as Call to undefined method Illuminate\Session\Store::getMetadataBag()

Can anyone help me please?