2,980 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
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.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
Earned once your experience points ranks in the top 10 of all Laracasts users.
Replied to Moving Entire Directory From One Storage Disk To Another
Omg thank you @michaloravec ! It worked perfectly, can't believe it was so simple, I've been staring at it for a couple of hours now.. Should probably go to bed! Thanks again :)
Started a new Conversation Moving Entire Directory From One Storage Disk To Another
Hi guys,
I have two Storage disks setup:
With another process I create a bunch of files and folders and move them to "static" once compiled, then I would like to have a scheduled job upload the files/folders every once in a while to "sftp".
I can't seem to find a way to move the entire directory including files and sub-directories to the sftp disk.
What I tried:
$files = Storage::disk('static')->files();
foreach($files as $file) {
$this->uploadFile($file);
}
public function uploadFile($file)
{
$file = // somehow instantiate the file here
Storage::disk('sftp')->put($file->get, $file);
}
However $files = Storage::disk('static')->files();
just returns a list of the files as strings, and not a real file instance.
Started a new Conversation Hiding The Dashboard Link In The Sidebar
Hi guys,
I found a way to redirect straight to a resource when visiting my Nova dashboard, however ideally I would want to completely hide the Dashboard link in the sidebar, has anyone found a way to do this?
Thanks!
Replied to How To Set A Default Value To Input With A V-model Via HTML?
Sorry for the late reply.
I usually do this in the mounted() hook, where I check for existence of the model, I can then populate each form item with the value from the model :)
Replied to Set “status = Sent” In Table After Email Sent
Doesn’t look like it, try to do $feed->save()
Replied to How To Set A Default Value To Input With A V-model Via HTML?
This shouldn’t be necessary, even for edit pages :)
Replied to How VUE Displays Errors
Also you should store the errors you get from your Axios call in Vue of course :)
Replied to How VUE Displays Errors
Use the key of each input to fetch the error from the errors object/array, so you check like this: <div v-if=“errors.length && errors[‘emails’]”>
Replied to Set “status = Sent” In Table After Email Sent
Can’t you just do it inside of your command? Inside the foreach loop, you set each of them to sent :)
Replied to Building ESignature Portal Through Docusign/HelloSign
Hi there,
I don't have particular experience with this, but would just like to offer you some advice for how to handle requests like this in the future.
Before agreeing with the client, make sure that you spend 1-2 hours researching API's, libraries, packages etc. which can help you before even starting, this will save you a bunch of time in the long run, and create a better and more confident relationship with your client, simple because you then know that you are able to solve the task before starting.
I think many freelance projects die because the freelancer signed up to deliver something that is not actually possible within the constraints set out by the client, or they are technically not able to do.