Flex

Member Since 4 Years Ago

Experience Points
13,140
Total
Experience

1,860 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
7
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.

  • Community Pillar

    Earned once your experience points ranks in the top 10 of all Laracasts users.

Level 3
13,140 XP
Jan
15
1 week ago
Activity icon

Started a new Conversation Using Both Vue Js And Jquery With Laravel Mix

could I use both Vue and jquery in the Laravel project using Laravel Mix and using them in the project?

Jan
12
1 week ago
Activity icon

Replied to Bootstrap Install Via Npm In Laravel Project

I used mix then, is it complied with my master layout?

Activity icon

Started a new Conversation Bootstrap Install Via Npm In Laravel Project

I am going to install bootstrap 4 via nmp in Laravel project. Then I would like to know that may I apply bootstrap css files and js files manually in app.blade.php file to working properly in bootstrap or is it automatically embedded with the system?

Jan
04
2 weeks ago
Activity icon

Replied to Bootstrap Mobile View Is Not Working Properly

now size is okay, but image possition is not visible correct way. still it is displaying in the middle on the jumbotrone in mobile view

Activity icon

Replied to Bootstrap Mobile View Is Not Working Properly

in this case my image does not smaller than large device in the mobile view. it is showing same image size on both large and mobile view. I need small image to mobile size and normal view in the desktop

Activity icon

Replied to Bootstrap Mobile View Is Not Working Properly

@newbie360 little bit sucess here but still in the mobile view image did not minimize as mobile view. how could I do this

Activity icon

Started a new Conversation Bootstrap Mobile View Is Not Working Properly

working with Bootstrap 4 in Laravel and I have following bootstrap codes with external css file in the html view,

<div class="jumbotron rounded-0">
  <div class="container">
  <div class="row">
    <div class="col-md-4">
    <img src="{{asset('images/flowler.jpg')}}" alt="..." class="rounded-circle">
    </div>
  </div>
 </div>
</div>

External css

.rounded-circle{
    vertical-align: left;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    left: -100%;
    top: -50px;
    
  }

but in mobile view in the browser above images not displaying properly. it is not in the correct position. how could I fix this problem?

Dec
22
1 month ago
Activity icon

Started a new Conversation How To Use Angular In Laravel

I am working Laravel 7 and Angular 10 separately. but in My new project I am going to working with both Laravel and Angular. I need install Angular to My Laravel and do My Javascript task using Angular. but I have following problems to solve

  1. could I install Angular in my Laravel app? 2.Than, How (using npm) 3.could I use Angular to do javascript task in the laravel app like (Vue.js)

Thanks!

Dec
21
1 month ago
Activity icon

Replied to Unable To Change Laravel 7 Title Name

@michaloravec did it but not success here

Activity icon

Started a new Conversation Unable To Change Laravel 7 Title Name

I am using Laravel 7 and make Auth command also here. but now I need change my app name of the each page title from Laravel to cms. then I change app.blade.php file app name as cms. but not successful here. how could I change these

Dec
15
1 month ago
Activity icon

Started a new Conversation Laravel With Angular CURD

I need practice Laravel and Angular CURD Operations. Please send me good tutorials links to practice above metters?

Dec
14
1 month ago
Activity icon

Started a new Conversation WAMP Vertion For Laravel 8

I am working with WAMP 3.1.3 and it is php versions is PHP 7.2 . now I need installed Laravel 8 and it is woking with PHP 7.3. so, I need upgrade my php 7.2 to 7.3. but several times tryed to upgrade php do not sucess here. may I upgrade php 7.2 to 7.3 in WAMP 3.1.3? then how?

Dec
07
1 month ago
Activity icon

Started a new Conversation What Is Sass And Which Is The Relationship Between Bootstrap?

I have seen sass in css with Laravel 8 and I would like to know that what is sass here and what is relationship between bootstrap and sass?

Dec
06
1 month ago
Activity icon

Started a new Conversation Could I Use Angular 10 With Laravel 8

Could I use Angular 10 with Laravel 8 'php artisan ui' when we create login and registration? Then How?

Activity icon

Started a new Conversation Could I Use Make:auth Command For Make Login/registration For Laravel 8

Could I use make:auth command for make login/registration for Laravel 8?. if not how can do it?

Dec
05
1 month ago
Activity icon

Started a new Conversation How To Create New Laravel 8 Project Using Command Prompt?

I need create new laravel 8 project using command frompt. i am going to use following command for that. composer create-project laravel/laravel blog

is it correct or may I put laravel version here?

Nov
29
1 month ago
Activity icon

Started a new Conversation How To Edit Multi Value Selection Inputs In Laravel 6?

working with Laravel 6 and mysql. I have mutiple values input using select2-multi. I have following model structure with Post and Tags Post.php model

public function category()
      {
      	return $this->belongsTo('App\Category');

      }

      public function tags()
      {
      	return $this->belongsToMany('App\Tag');
      }

Tag.php Model

public function posts(){
    	return $this->belongsToMany('App\Post');
    }

and My PostController edit function is

  public function edit($id)
    {
        $post = Post::find($id);
        $categories = Category::all();
        $tags = Tag::all();
      
        return view('posts.edit')->withPost($post)->withCategories($cats)->withTags($tags);
    }

and edit blade is

<div class="form-group">
   <label for="exampleFormControlSelect1">Tag</label>

   <select class="form-control select2-multi" name="tags[]" id="tags" multiple="multiple">
      @foreach($tags as $tag)
           <option value="{{$tag->id}}" @if($tag->id === $post->tag_id) 'selected' @endif >{{$tag->name}}</option>
      @endforeach
   </select>
</div>

but when I try to visit edit blade view following error is coming Undefined variable: tags (View: F:\2020 technologies\laravel\blog\resources\views\posts\edit.blade.php)

how could I fix this matter?

Nov
27
1 month ago
Activity icon

Started a new Conversation How To Iterate Category Options Values With Edit Blade File In Laravel 6

working with laravel 6 and need edit category options here. PostController.php

public function edit($id)
    {
        $post = Post::find($id);
        $categories = Category::all();
        $cats = array();
        foreach ($categories as $category) {
            $cats[$category->id] = $category->name;
        }
        return view('posts.edit')->withPost($post)->withCategories($cats);
    }

and edit.blade.php

<div class="form-group">
    <label for="exampleFormControlSelect1">Category</label>

    <select class="form-control" name="category_id" id="category_id">
      @foreach($categories as $category)
      <option value="{{$post->category->id}}">{{$post->category->name}}</option>
      @endforeach
      </select>

</div>

but when I am going to edit page in the edit category options display only current category item. I need display all categories in the table? how could I manage this?

Nov
25
1 month ago
Activity icon

Started a new Conversation Laravel With Angular

I am going to change java script to Angular with Laravel. so, please send me good tutorials for following working with Laravel and Angular.

Nov
16
2 months ago
Activity icon

Replied to How To Delete Post With Resource Route Command In Laravel 6

could you explain that what is the meaning of {{ route('posts.destroy', ['post' => $post->id]) }} of above action?

Activity icon

Replied to How To Delete Post With Resource Route Command In Laravel 6

@michaloravec @tykus when I follow @michaloravec solutions I got following error message here

Missing required parameters for [Route: posts.destroy] [URI: posts/{post}]. (View: F:20 technologies\laravel\blog\resources\views\posts\show.blade.php) 
Activity icon

Replied to How To Delete Post With Resource Route Command In Laravel 6

@michaloravec could I manage this without form here?

Activity icon

Started a new Conversation How To Delete Post With Resource Route Command In Laravel 6

working with Laravel 6 and I have following route for My PostController Route::resource('posts', 'PostController');

and then in My PostController as following

 public function destroy($id)
    {
        $post = Post::find($id);

        $post->delete();

        return redirect()->route('posts.index');
    }

and my blade file delete link like this

<div class="col-sm-6">
				<a href="" class="btn btn-danger btn-block">Delete</a>
			</div>

I am unable to manage how to define href link for delete in the blade file? how could I manage this?

Nov
15
2 months ago
Activity icon

Started a new Conversation Did Not Update Laravel Update Function

working with Laravel 6 and going to update using controller PostController

public function update(Request $request, $id)
    {
        $this->validate($request, array(
               'title' => 'required|max:225',
               'body' => 'required'
        ));

        $post = Post::find($id);

        $post->title = $request->input('title');
        $post->body = $request->input('body');

        $post->save();

        Session::flash('success','This post was successfully updated');

        return redirect()->route('posts.show', $post->id);
    }

and edit.blade.php

<div class="row">
    <div class="col-md-8">
    <form method="PUT" action="{{ action('[email protected]',$post->id) }}" > 
            {{csrf_field()}}
    

 <label for="exampleFormControlInput1">Title</label>
    <input type="text" name="title" class="form-control" id="title" value="{{$post->title}}">

<label for="exampleFormControlTextarea1">Post Body</label>
    <textarea name="body" class="form-control" id="body"   rows="3">{{$post->body}}</textarea>
    </div>



            <div class="col-sm-6">
                
                <button type="submit" class="btn btn-success btn-block" >Save Changers</button>
            </div>
        </div>

    </div>
</form>

but when click save changes button database did not updated!!! not generated any errors

Nov
09
2 months ago
Activity icon

Started a new Conversation Could I Add Route For Laravel Form?

could I add 'route' keyword for Laravel form Action? Then How?

Oct
25
2 months ago
Activity icon

Replied to How To Install Bootstrap And Angular In Laravel 8 Using Npm

@sinnbeck okay one other problem, may I continue above npm installations without removing vue on package.json what happened? may vue also installed to my project?

Activity icon

Replied to How To Install Bootstrap And Angular In Laravel 8 Using Npm

@sinnbeck okay, then may I comment default vue js?

Activity icon

Started a new Conversation How To Install Bootstrap And Angular In Laravel 8 Using Npm

how to install bootstrap and angular in laravel 8 using npm?

Oct
14
3 months ago
Activity icon

Started a new Conversation Create Role-based Access Control System In Laravel

I am going to develop role-based access control system using Laravel 8 for my app. but I do not need install like laratrust component. need develop my own system. please send me if you have any tutorials to develop like role-based access control system in laravel?

Oct
12
3 months ago
Activity icon

Replied to Bootstrap Installation With Npm

@sarwarahmed then, what is the sass in the laravel?

Activity icon

Started a new Conversation Bootstrap Installation With Npm

I have some problem with installation bootstrap css framework on Laravel with npm command. where is the folder/s bootstrap files installation via npm command? how can I see bootstrap CSS and js files like manual installation?