wilburpowery

wilburpowery

Web Developer at Self Employed

Member Since 3 Years Ago

Alajuela

Experience Points
102,570
Total
Experience

2,430 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
684
Lessons
Completed
Best Reply Awards
50
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 21
102,570 XP
Feb
14
1 week ago
Feb
05
2 weeks ago
Activity icon

Awarded Best Reply on Trying To Get Property 'sitename' Of Non-object

If you're using a version of Laravel greater than 5.8 you can use the optional() helper like so:

<td>{{ optional($contact->site)->sitename }}</td>

This helper basically just checks if what you pass in is NULL and just returns null without making the application crash.

Feb
04
2 weeks ago
Activity icon

Replied to Trying To Get Property 'sitename' Of Non-object

If you're using a version of Laravel greater than 5.8 you can use the optional() helper like so:

<td>{{ optional($contact->site)->sitename }}</td>

This helper basically just checks if what you pass in is NULL and just returns null without making the application crash.

Dec
12
2 months ago
Activity icon

Replied to Laravel 6+ Tips On Securing My Website Before Going Live

Laravel itself has all the security checks in place to prevent SQL injection and other forms of attacks.

Most of your vulnerability can come from your server setup though. So if you're not 100% sure of what you're doing I can recommend you signup for Laravel Forge if it's in your budget which can setup a server for you to deploy your Laravel apps.

If you're using some kind of shared hosting to deploy it on, I really have no experience with that scenario and can't recommend any good practices for that. Maybe someone else can say something about that.

Nov
27
2 months ago
Activity icon

Replied to Add Session And Cookie For Favorites

Why not just associate each favorite between a product and a user record?

Ideally to favorite any product you would need to be logged into the application.

Nov
26
2 months ago
Activity icon

Replied to Laravel File Error

If you just pasted the entire error it might be easier to help you :)

Nov
21
3 months ago
Activity icon

Awarded Best Reply on Is It Possible To Connect Both Mysql And Firebase In Same Laravel 5.8 Project?

You can do this by creating a new connection in config/database.php.

Then you can have different models using different connections by specifying a protected $connection = 'firebase'; property.

Activity icon

Replied to Horizon Is Processing Jobs But Recents Jobs Is Always Empty

Have you tried restarting horizon?

Another thing that might help is running FLUSHALL on the `redis-cli

Activity icon

Replied to Jest With React Native And Native Base

I'm pretty sure you'll find it very hard to find an answer for your question here. This community is mainly focused on PHP/Laravel and Javascript/Vue.

Hopefully someone here knows the stack to give you an answer, but maybe you're better off posting the question to Stack Overflow.

Activity icon

Replied to Is It Possible To Connect Both Mysql And Firebase In Same Laravel 5.8 Project?

You can do this by creating a new connection in config/database.php.

Then you can have different models using different connections by specifying a protected $connection = 'firebase'; property.

Oct
09
4 months ago
Activity icon

Replied to Model With BelongsTo And BelongsToMany

You would need to create a new Material resource and create it from there?

Oct
07
4 months ago
Activity icon

Replied to Removing Custom Nova Tools

When you create a custom nova tool an nova-components folder get's created in your project root. in there you could just delete custom tool you wish to remove then from your composer.json just remove the dependency to that custom tool.

That's it. That's all you need to do.

Activity icon

Replied to Single Horizon Instance For Multiple Apps?

If both applications are using the same queue workers, I don't see why that wouldn't be possible.

You may run into issues with failed jobs though, since Horizon usually stores them in a failed_jobs table in each application.

But besides that, I can't think of any other thing that may get tricky.

Activity icon

Replied to Phpunit Test Slow - On Local Machine 3 Minutes On GitLab-CI 44 Minutes

Ideally you test everything in your application.

You need to really check what you're doing in your tests. Are you doing a lot of expensive assertions in each test?

Can some tests be refactored to improve the speed at which they run? There's so many little things.

It's super hard to give any kind of advice without seeing the actual tests.

Activity icon

Replied to Model With BelongsTo And BelongsToMany

Why are you using both the BelongsTo and BelongsToMany Nova fields?

You should only use the BelongsToMany since that's the relationship you're trying to work with.

Activity icon

Replied to How To Display Different Mobile And Desktop Layout With Vuejs

I think what you're trying to get at is commonly known as responsive design. You don't have different files for mobile or desktop. Rather, you design your website so it can react dynamically to the size of the screen it's being viewed on.

Sep
30
4 months ago
Activity icon

Replied to Question About Laravel Shift Subscription Plan

You should reach out to the creator of Laravel Shift. https://twitter.com/gonedark

Activity icon

Replied to How Can I Add An Extra Table In The RegisterController?

Laravel fires a Illuminate\Auth\Events\Registered event and sends through the newly registered user.

Create a listener for the event and register in your EventServiceProvider. You can do any additional steps you need in the listener.

Sep
27
4 months ago
Activity icon

Replied to Sending Notification When Model Is Updated Via Nova

Are you using a model observer? If so, everything should work fine with Nova.

If for whatever reason you're doing that check say in a controller or somewhere else it would make sense that updating through Nova would not send off any notification.

Activity icon

Replied to Vuejs Framework That Works Best With Zurb Foundation

Bulma is more popular. Here is a nice library.

https://buefy.org/

Sep
26
4 months ago
Activity icon

Replied to Vuejs Framework That Works Best With Zurb Foundation

Vuetify has it's own CSS framework so it definitely will not work smoothly with Zurb.

You're honestly just better off creating your Vue components and applying the styles yourself.

Zurb isn't really used much within the Vue community so you probably will not find anything specific for Vue.

Activity icon

Replied to OK To Delete Migration File That You Subsequently Reversed, In A Running App?

It's generally OK to delete them. Just be sure to run composer dump-autoload to remove that class from composer's autoload.

Activity icon

Replied to Recommendation On Laravel Learning Book

https://laravelupandrunning.com/ is the best option. It's written by Matt Stauffer and it updated for 5.8 and a update is coming soon with new stuff released in Laravel 6.0

Sep
14
5 months ago
Activity icon

Replied to Laravel 6 New Error Page. Project-one.local - OK, Localhost:3000 - Not Working

Ignition doesn't work with Browsersync right now. There's an issue in their official repo talking about it.

https://github.com/facade/ignition/issues/16

There you will also a solution meanwhile they come up with something.