mgalante324

mgalante324

Member Since 7 Months Ago

Experience Points
540
Total
Experience

4,460 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
0
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your 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-in-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 Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist 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
540 XP
Sep
03
1 month ago
Activity icon

Replied to CSRF Token

Ok, thank you

Activity icon

Started a new Conversation CSRF Token

This may be a dumb question, but is there any way to add the CSRF token once the form has already been submitted to the route?

I have forms coming from external urls and the only way I've gotten them to work is by making my link exempt from CSRF validation.

Sep
02
1 month ago
Activity icon

Replied to Index Of /

Fixed this issue by creating a .htaccess file with the following:

RewriteEngine On RewriteRule ^(.*)$ public/$1 [L]
Activity icon

Replied to Index Of /

Yes, that does work. Where do I change the document route?

Activity icon

Started a new Conversation Index Of /

Installed laravel on a new domain and it shows the 'index of /' page rather than the welcome page. I know how to fix this when using a localhost but I'm not sure how to get past this on the live server.

Jun
03
4 months ago
Activity icon

Replied to Collection Merge

Ahh gotcha, thanks!

Activity icon

Replied to Collection Merge

Thanks for your reply. I tried this and still ended up giving me original rather than the duplicate. However, I ended up using the groupBy method and then mapping through the collection to return the last of each group to give me the duplicate value.

  $mergedCollection = $mergedCollection->groupBy('date')->map(function ($row) {
            return $row->last();
        });
Activity icon

Started a new Conversation Collection Merge

I am merging two collections with the same number of fields "date, requested1, requested2, requested3". In the merged collection there are some repeat dates, I only want to show each date one time. I thought that merge would automatically handle this and show the second date of the duplicate pair, but that isn't happening.

Is there any way to remove duplicates aside from unique? I tried that but it removes the duplicate and keeps the original, but I want to remove the original and keep the duplicate.

May
28
4 months ago
Activity icon

Replied to Combining Arrays

I'll check out collections, thanks.

Activity icon

Replied to Combining Arrays

I saw that before, that works if I have an array with one field and then another array with 5 fields?

Activity icon

Started a new Conversation Combining Arrays

I have one array that is just an range of dates provided by the user.

I have another array that gets pulled from the database which has a date, a userID, and then three columns that are either a 1 or a 0. When I get it from the database I only select dates within the date range mentioned above.

Is there a way that I can combine these two arrays? I'd like to add the userID and three binary columns to my first array so that I can display this in a table.

May
21
4 months ago
Activity icon

Replied to Migrate Error

I did check the mysql extensions. I have the site live on my server so I just used ssh to do it that way instead of doing it from my computer and now it is working fine, thank you.

Activity icon

Started a new Conversation Migrate Error

I'm working on my project in a new install of Laravel because I had to switch computers. Everything was going fine until I tried to migrate a new table. I received the following errors:

"In Connection.php line 664:

could not find driver (SQL: select * from information_schema.tables where table_schema = mydatabasenamehere and table_name = migrations)

In Connector.php line 67:

could not find driver"

Any ideas as to how to fix this?

Apr
23
5 months ago
Activity icon

Replied to Route Broken After Creating Controller

Wow, I forgot I added a portfolio folder in public earlier. Thank you, I missed that.

Activity icon

Started a new Conversation Route Broken After Creating Controller

I have a route called /portfolio that was working fine. I needed to create a controller which I meant to call ProjectsController but I accidentally called it PortfolioController. I deleted it after realizing it was a mistake, but now my /portfolio route won't load and I'm getting a 403 error. My other pages are loading fine, and the view that /portfolio was loading works fine with other routes. Here is my route:

Route::get('/portfolio', '[email protected]');

This works fine if I call it anything other that /portfolio. Is there any way to fix this?