RamonEgger

RamonEgger

Member Since 3 Weeks Ago

Experience Points
10,180
Total
Experience

4,820 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
85
Lessons
Completed
Best Reply Awards
2
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 3
10,180 XP
Feb
21
2 days ago
Activity icon

Commented on Collections

helpful

Feb
20
3 days ago
Activity icon

Replied to Trying To Get Property 'name' Of Non-object (View: C:\xampp\htdocs\supportcrm\resources\views\admin\artticletag\show.blade.php)

I think this is not an routing error. Check your controller.

Is your query returning array or object? If you dump it out, you might find that it's an array and all you need is an array access ([]) instead of an object access (->).

from: https://stackoverflow.com/questions/32469542/trying-to-get-property-of-non-object-laravel-5

Feb
19
4 days ago
Activity icon

Replied to Delete With Subquery

From my MySQL knowledge there is the following possibility for a query:

delete from TABLE where id between X and Y

Try to avoid large foreach database query loops due to performance reasons. Maybe Laravel offers such an option or just use the raw mysql query builder from Laravel.

Greets

Activity icon

Replied to Where Are You All From?

Zurich, Switzerland

Feb
14
1 week ago
Activity icon

Awarded Best Reply on Admin And User Login Pages

I'd say implement user roles and check for them, meaning an admin is an user and a regular is an user, so same login process.

Also go with "RESTful as possible" with the controllers, helps you keeping things organized.

Try the Forum Series from Jeffrey. https://laracasts.com/series/lets-build-a-forum-with-laravel

Greets

Activity icon

Replied to Admin And User Login Pages

I'd say implement user roles and check for them, meaning an admin is an user and a regular is an user, so same login process.

Also go with "RESTful as possible" with the controllers, helps you keeping things organized.

Try the Forum Series from Jeffrey. https://laracasts.com/series/lets-build-a-forum-with-laravel

Greets

Activity icon

Replied to Integrity Constraint Violation

First of all you are checking against a string and then an email in your validation rule;

'email' => ['required', 'string', 'email', 'max:255', 'unique:users,email'],

just email is enough.

Second make sure the field is fillable or guarded is set to an empty array in your target model.

Looks like the error comes from Illuminate\Database\QueryException and the request passes the validation. Try my basic advice from above.

Edit

Greets

Activity icon

Replied to How To Ensure That Order Price Is Not Less Than Product Price

You can create custom validation rules with

php artisan make:rule CustomRule

Or maybe you can can set the min:INT validation rule to a dynamic value given from the database.

https://laravel.com/docs/master/validation#rule-min

Activity icon

Awarded Best Reply on How Vue Router Works In Laravel

Seems like it hits the wrong url when calling

axios.get("api/clients/1").then(response => {
        console.log(response.data);
      });

and then refers to your HomeController.

Try use a leading "/":

axios.get("/api/clients/1").then(response => {
        console.log(response.data);
      })

Test this:

Since you can test the GET route directly in your browser try hitting your target url, for example:

localhost:8000/api/clients/1

If it works axios hits the wrong url.

Activity icon

Replied to Getting Laravel App Running On Synology NAS

That's possible, try searching for LAMP (Linux, Apache, MySQL and PHP) Server on DSM. After that you can follow the guidelines for publishing Laravel to an webserver.

Greets

Activity icon

Replied to How Vue Router Works In Laravel

Seems like it hits the wrong url when calling

axios.get("api/clients/1").then(response => {
        console.log(response.data);
      });

and then refers to your HomeController.

Try use a leading "/":

axios.get("/api/clients/1").then(response => {
        console.log(response.data);
      })

Test this:

Since you can test the GET route directly in your browser try hitting your target url, for example:

localhost:8000/api/clients/1

If it works axios hits the wrong url.

Activity icon

Replied to Testing Artisan Output

Have you tried the ..

$this->artisan('COMMAND')->expectsOutput('OUTPUT') ;

.. function?