Member Since 1 Year Ago

Marietta, GA

Experience Points 550
Experience Level 1

4,450 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 2
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.

26 Sep
10 months ago

aondoe left a reply on Files Don't Upload To The

Thanks for your tips. I forgot to remove one of the validation rules. I will read the link you posted thanks.

aondoe started a new conversation Files Don't Upload To The

Hello. I'm trying to upload files into the public folder. I've already created a link to the storage folder using artisan. But for some reason, the file title uploads to the MySQL field. Has anyone else experienced this?

The main code is in the if-statement near the bottom of the code.

Here is my Controller

    public function store(Request $request){
                    'title' => 'required|min:2',
                    'subject' => 'required|min:4',
                    'content' => 'required|min:50',
                    'featured_img' => 'sometimes|image'

                $this->validate($request, [
                    'featured_image' => 'sometimes|image'
                                'featured_img' => $request->featured_img

                if ($request->hasFile('featured_img')){

                    $path = $request->file('featured_img');
                    // $fileName=$featured_img->getClientOriginalExtension();
                    $image->move(base_path('/images'), $fileName);
                    $post->update(array_merge($request->all(), ['featured_img' => $path]));
                    return "Here is the path: ".$path;
                return redirect()->route('posts.index');

Here is my form which contains the upload field

<form onsubmit="return confirm('Are you sure you want to edit the post {{$post->title}}?')" action="{{route('posts.update', $post->id)}}" method="POST" type="multipart/form-data">
            <div class="form-group">
                        <label for="title" >Title</label>
                        <input type="text" name="title" id="title" class="form-control" value="{{$post->title}}">
        <div class="form-group">
                    <h2>Your current subject is {{$post->subject}}</h2>
        <div class="form-group">
                <input type="file" name="featured_img">{{$post->featured_img}}

Any help would be great. Thanks

16 Sep
11 months ago

aondoe left a reply on File Upload Not Working

Hey you guys are awesome. This framework is awesome, and I'm working constantly to get better. I finally got it to work. My $fillable variable in my model didn't match the column I was trying to upload to.

I had 'featured_image' instead of 'featured_img'.

So now I'm able to upload finally! Thank you all.

aondoe left a reply on File Upload Not Working

Hey tykus thanks for your prompt response and assist, but I'm getting a

"Call to a member function store() on null" error, on this line:

 $path = $request->file('featured_img')->store(public_path());

I suspect the request isn't to the proper file. I'm not sure actually. But I thank you for your help. I will keep working at it.

aondoe left a reply on File Upload Not Working

Hey tykus. No I was following online examples, and I just wanted it to be stored inside the storage/app/public/ directory

aondoe left a reply on File Upload Not Working

Hey guys thanks for your responses. I omitted the @csrf token from my form above. I actually include that right below the tag.

Controller code below:

    public function update(Request $request, PostIt $post)
        //The code below will update the post/record in the database.
                    'title' => 'required|min:2',
                      'content' => 'required|min:50',


        session()->flash('message', 'Your post has been created successfully');
        return redirect()->back();

Here's the code from the Model:

namespace App;

use Illuminate\Database\Eloquent\Model;

class PostIt extends Model

    protected $fillable=['title','content', 'subject','featured_image'];

    protected $guarded=[];//For guarded data if needed


aondoe started a new conversation File Upload Not Working

Hello everyone.

I'm having trouble with file upload in laravel 5.6 I'm trying to upload images to my CMS I've created with Laravel.

I have a table called "post_its" below:

    public function up()
        Schema::create('post_its', function (Blueprint $table) {

I had to add a column in the table to upload images so I did so like below:

    public function up()
        Schema::table('post_its', function(Blueprint $table)
            //add a column to the post_its table and give it 100 characters. Also specify 100 characters
            $table->string('featured_img', 100)->nullable();

Here's my form data I'm trying to fix, as you can see below:

<form action="{{route('posts.update', $post->id)}}" method="POST" type="multipart/form-data">
<!--other form fields are here as well, but omitted for brevity-->
        <div class="form-group">
                <input type="file" name="featured_img" title="Featured image">

Every other field works and updates the database table, but not this upload field. All the fields under the featured_img column says null. I was hoping after I added this column I could edit this column. Any suggestions?

12 Jul
1 year ago

aondoe left a reply on I'm Trying To Modify My AuthServiceProvider.php File, I Get An Error "Call To Undefined Method Illuminate\Support\Facades\Gate::define()". Anyone Else Having This Trouble?

Please dis regard this question. I didn't use the correct path. Instead of the path listed in my code above I should've typed:

use Illuminate\Contracts\Auth\Access\Gate as GateContract;

instead of:


27 May
1 year ago

aondoe left a reply on Laravel 5.6.9 : Php Artisan Migrate - Problem

Thank you takdw your solution worked for me.

15 May
1 year ago

aondoe left a reply on File Assets/css/laravel.css Not Defined In Asset Manifest

Hey bobbybouwmann. Thank for your help. I tried to run the commands but they didn't work at first. I got this weird node error.

So I uninstalled nodejs and npm.

After that, I recreated the project and tried your commands and everything worked fine. Thanks a lot.

aondoe left a reply on Where Are You All From?

In Atlanta, GA by way of West Africa

aondoe started a new conversation File Assets/css/laravel.css Not Defined In Asset Manifest

When I try to click on 'register'(register.blade.php) I get this error message:

'File assets/css/laravel.css not defined in asset manifest'

When I click the login page on public/index.php I get this message: 'View [] not found'

When I followed the path: assets/css/laravel.css

I realize I'm missing the CSS directory in my assets folder.

Has anyone else had these issues?

Thank you for your help in advance.