Member Since 1 Year Ago

Experience Points 1,090
Experience Level 1

3,910 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 8
Best Reply Awards 0
Best Reply
  • 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.


    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.


    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.

14 Jul
1 year ago

UnFukWitAble left a reply on Laravel Axios Mixed Content Error

I removed AWS Load Balancer and Elastic IP and it is working now.

UnFukWitAble left a reply on Laravel Axios Mixed Content Error

Yes, I did a search for http:// in entire project nothing showed up. I Most topics I found about this, doing one of the above solved the problem.

The only other thing I could think of is the loadbalancer. Will try to remove loadbalancer and just use apache for ssl then report back.

13 Jul
1 year ago

UnFukWitAble left a reply on Laravel Axios Mixed Content Error

P.S. I am using AWS Loadbalancer

UnFukWitAble started a new conversation Laravel Axios Mixed Content Error

Hi guys,

I am moving app into production. Everything seems to work fine on http; however, when using https I get mixed content errors from axios.

Mixed Content: The page at 'https://my-website.com/admin/accounts' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.my-website.com/api/accounts/paginate'. This request has been blocked; the content must be served over HTTPS.

Things I have tried.

In .env


In config/app.php

'url' => env('APP_URL', 'https://my-website.com'),

In app/Providers/AppServiceProvider.php boot() method

if($this->app->environment('production')) {

I have also tried editing default axios baseUrl in resources/assets/js/bootstrap.js

window.axios.defaults.baseURL = 'https://www.marylandcarpetandtile.com';

When i visit the end point from https ie


I can not figure out how to get axios to use https. Any help would be appreciated, currently halting move to production.

04 Jun
1 year ago

UnFukWitAble started a new conversation Laravel Costs On Amazon AWS EC2

Does anyone run Laravel on Amazon AWS? What are your monthly costs?

My AWS account has been inactive for over a year, free tier expired few months ago, but I still wasn't being charged anything other then $0.51.

Two months ago I wanted to test deployment of Laravel application on my EC2, just to get an idea of what is involved. I got a bill later that month for ~$50.

I thought it was that high because I uploaded files a bunch of times. But this month I got a bill for ~$72.00 and I haven't touched the server. I took the index.php file and replaced it with a blank index.php file instead of deleting everything.

Does anyone with some AWS experiance know why I am getting raped by AWS here? This is just a test server I have, it has no real traffic.

I don't know if this is related, but occasionally when I have the Larevel application up I get a HTTP 503 (server can't handle request) error on the server.

14 May
1 year ago

UnFukWitAble started a new conversation Can I Create My Own Laravel Scaffolding Template?

When you first create a Laravel project using laravel new blog it setups the basic homepage with a .blade.php view file.

Whenever I start a new project, I like to have my own custom layout, header, and footer, login, and registration skeleton and then just update the styling etc.

Most of the projects I make have a contact-us form so I end up creating the same Contact model, ContactController, and create_contact_table migration.

Is there a way to create your own default new template?

11 May
1 year ago

UnFukWitAble left a reply on SSL Issue With Laravel On Production Server Using Apache

That did the trick. By the way looks like forceSchema() was replaced with forceScheme() at some point.

UnFukWitAble started a new conversation SSL Issue With Laravel On Production Server Using Apache

Hi, I have Apache 2.46, running on RHEL 7.5 server with an OV SSL certificate configured using AWS.

This a fresh application made using laravel new blog. All I have done is change permissions for storage and bootstrap/cache directories (the proper way) and setup the basic application config (database, env, etc).

My httpd.conf is setup to serve everything from /var/www/html/public/ and my Laravel application is inside /var/www/html/.

I am encountering two issues, which don't seem to be documented anywhere, maybe someone here can help me.

The SSL works on the homepage, works on both HTTP and HTTPS. However, when I visit /home (produced from make:auth) it only works over HTTP. If I visit it from HTTPS it will look like this (see image below).

alt text

How do you go about properly setting up Laravel for HTTPS? I usually add

#<VirtualHost *:80>
#   RewriteEngine On
#   RewriteCond %{HTTP:X-Forwarded-Proto} =https
#   RewriteRule .* https://%{HTTP:Host}%{REQUEST_URI} [L,R=permanent]

to the httpd.conf, but adding this now creates a too many redirects error. I would like to force HTTPS for all requests.




<IfModule mod_rewrite.c>                                                                                                                                                                                                                           
    <IfModule mod_negotiation.c>                                                                                                                                                                                                                   
        Options -MultiViews -Indexes                                                                                                                                                                                                               
    RewriteEngine On                                                                                                                                                                                                                               
    RewriteBase /                                                                                                                                                                                                                                  
    # Handle Authorization Header                                                                                                                                                                                                                  
    RewriteCond %{HTTP:Authorization} .                                                                                                                                                                                                            
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]                                                                                                                                                                                  
    # Redirect Trailing Slashes If Not A Folder...                                                                                                                                                                                                 
    RewriteCond %{REQUEST_FILENAME} !-d                                                                                                                                                                                                            
    RewriteCond %{REQUEST_URI} (.+)/$                                                                                                                                                                                                              
    RewriteRule ^ %1 [L,R=301]                                                                                                                                                                                                                     
    # Handle Front Controller...                                                                                                                                                                                                                   
    RewriteCond %{REQUEST_FILENAME} !-d                                                                                                                                                                                                            
    RewriteCond %{REQUEST_FILENAME} !-f                                                                                                                                                                                                            
    RewriteRule ^ index.php [L]                                                                                                                                                                                                                    


<Directory />
    AllowOverride none
    Require all denied

DocumentRoot "/var/www/html/public"

<Directory "/var/www">
    AllowOverride None
    # Allow open access:
    Require all granted

<Directory "/var/www/html/public">
    Options FollowSymLinks
    AllowOverride All
    Require all granted
09 May
1 year ago

UnFukWitAble started a new conversation Little Confused About Laravel Passport And OAuth, Could Use Some Clarification/help Please.


New to Laravel, loving it so far but I am having some trouble understanding a few things.

From my understanding, the basics are.. and correct me if I am wrong here..

WEB routes, under routes/web.php are generally used for front-end routing. For example, I want to view the blogs page. I need to create a GET route under web.php. WEB routes can also be used for submitting forms. For example, a POST request to blogs/create will create a new post and redirect you back to the blogs page.

API routes, are used outside of the front-end. For example, I want to send a GET request to api/blogs using a cURL request in my terminal on another machine to return a list of blogs.

Passport, is used to setup authentication for API routes so that not just anyone can send a GET request to api/blogs. It uses OAuth for authentication so i have to send a token with the GET request in order to get the blog list from api/blogs.

So far I have been using web.php to submit my forms (following the Laracast videos). My goal is to use Vue and Axios to submit forms, but I want to be sure that not just anyone can create a blog, they have to be User. So I am a little confused about were my routes should go, I assume they should go in the routes/api.php router? When I send a POST request to lets for example api/blogs/create using axios, how will it know which User I am or if i am even a User?

Where do the tokens generated by Passport install come in to play? When I ran the php artisan passport:install command it created two clients under oauth_clients

Laravel Personal Access Client Laravel Password Grant Client

What are these? And where do they come in play? When I send a cURL request, are the secrets listed under one these two accounts what I should use in header for authorization?

What are the other tables in the database for?

oauth_access_tokens oauth_auth_codes oauth_clients oauth_personal_access_clients oauth_refresh_tokens