tigerjun

tigerjun

Member Since 1 Year Ago

Experience Points
380
Total
Experience

4,620 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-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 1
380 XP
Sep
14
1 month ago
Activity icon

Replied to Class 'Intervention\Image\ImageServiceProvider' Not Found

@snapey if i try this method than the error come back to

Class 'Intervention\Image\ImageServiceProvider' not found
Activity icon

Replied to Class 'Intervention\Image\ImageServiceProvider' Not Found

@nakov i check the folder on the server and it dont have the folder than i upload it from local. But the same error still occurs.

Class 'Intervention\Image\ImageServiceProvider' not found

but if i remove this from config/app.php than the other pages on the same controller can run well.

Intervention\Image\ImageServiceProvider::class,
Activity icon

Replied to Class 'Intervention\Image\ImageServiceProvider' Not Found

if i put this inside config providers. Than the error occurs all the time. I cant access all the pages inside the same controller.

if i put this inside config file

Intervention\Image\ImageServiceProvider::class,
Activity icon

Replied to Class 'Intervention\Image\ImageServiceProvider' Not Found

if i remove this from the config than i get this error

remove this in config

Intervention\Image\ImageServiceProvider::class,

error

   Class 'Intervention\Image\Facades\Image' not found

because i need to use this in my controller

use Intervention\Image\Facades\Image;

    $file_name = asset('img/users/'.$imageName);
    $img = Image::make($file_name)->resize(300, 300);

composer.json

"require": {
    "php": "^7.1.3",
    "fideloper/proxy": "^4.0",
    "fzaninotto/faker": "^1.8",
    "intervention/image": "^2.5",
    "laravel/framework": "5.8.*",
    "laravel/tinker": "^1.0",
    "maatwebsite/excel": "^3.1",
    "phpoffice/phpspreadsheet": "^1.9",
    "waavi/sanitizer": "~1.0"
},
Activity icon

Replied to Class 'Intervention\Image\ImageServiceProvider' Not Found

@nakov because previously i also follow the step from the post u send. It still failed.

  "require": {
    "php": "^7.1.3",
    "fideloper/proxy": "^4.0",
    "fzaninotto/faker": "^1.8",
    "intervention/image": "2.5.0",
    "laravel/framework": "5.8.*",
    "laravel/tinker": "^1.0",
    "maatwebsite/excel": "^3.1",
    "phpoffice/phpspreadsheet": "^1.9",
    "waavi/sanitizer": "~1.0"
},

i try update to 2.5.0 and composer update it and still Class 'Intervention\Image\ImageServiceProvider' not found

its there any different i running on server instead of local?

Activity icon

Replied to Class 'Intervention\Image\ImageServiceProvider' Not Found

try. still cannot

Discovered Package: intervention/image
Package manifest generated successfully.
Activity icon

Started a new conversation Class 'Intervention\Image\ImageServiceProvider' Not Found

"Class 'Intervention\Image\ImageServiceProvider' not found". I try everthing online. It still cant work.

in my composer.json

 "require": {
   "php": "^7.1.3",
    "fideloper/proxy": "^4.0",
    "fzaninotto/faker": "^1.8",
    "intervention/image": "dev-master",
    "laravel/framework": "5.8.*",
    "laravel/tinker": "^1.0",
    "maatwebsite/excel": "^3.1",
    "phpoffice/phpspreadsheet": "^1.9",
    "waavi/sanitizer": "~1.0"
},

in config file

'providers' => [
    Intervention\Image\ImageServiceProvider::class,
],

'aliases' => [  
    'Image' => Intervention\Image\Facades\Image::class
],
Oct
06
1 year ago
Activity icon

Started a new conversation Update Variable Problem

    $type = $get->ownerShop_type;
        $getOwner->$type = $get->ownerShop_new;

the $type is string how can i declare the $type for my update purpose

Sep
01
1 year ago
Activity icon

Started a new conversation Save Html Code Inside Database

  $up->reserveChat_msg = '<button id="sowResDet" onclick="getReserveInfo('.$id.')">Waiting Pending</button>';

$up->reserveChat_msg = '<button id="sowResDet" onclick="getReserveInfo(' '.$id' .')">Waiting Pending</button>';

the first one is wrong the second is what i want but also wrong i want the var inside function have ('')

Aug
24
1 year ago
Activity icon

Started a new conversation For Loop The Variable

this cant work for me

for ($i = 1; $i < 8; $i++) {
        dd($getDate->ownerShop_.$i);
    }
Jul
02
1 year ago
Activity icon

Replied to How Can I Return A Value For Prefix ?

The route is for users ald login and i have the username on the controller. I dont know how to pass the variable for the route on web.php. Here is the loginController after users success login.

public function login()
{
        if ($login) {
            session(['user' => $login]);
            return redirect($login->user_name)->with('data', $login->user_name);
}
   
}
Activity icon

Started a new conversation How Can I Return A Value For Prefix ?

The prefix value now is empty. I no idea how can i return a value for the user. I try many ways and doesnt work.

Route::group(['middleware' => ['web','users.login'],'prefix'=>'{user}'], function () {
    Route::any('/','Users\[email protected]');
}
Jun
28
1 year ago
Activity icon

Replied to 500 (Internal Server Error) When I Using Ajax Posting

if my javascript put inside $(document).ready(function() work fine. But because some reason i need to move it out. If inside the $(document).ready(function() have ajaxSetup token. But outside dont have token so i think is token problem but i still cant fix it.

Activity icon

Started a new conversation 500 (Internal Server Error) When I Using Ajax Posting

function addComment(){

    var CSRF_TOKEN = $('meta[name="csrf-token"]').attr('content');
    var fieldId = $(this).attr('id'); 
    var info = $('#comment'+fieldId).val();
    var id = $('#post'+fieldId).val();
    var comment = $("input#comment"+fieldId).val();
    var user = $("#user"+fieldId).val();

    if (comment != "") {
        $.ajax({
            method: "POST",
            url: "users/users/addComment",
            data: {
                _token: CSRF_TOKEN,
                name: info,
                post:id,
            },
            success: function(status) {
                $('#latest'+fieldId).append(' <p id="user-text"><span id="user-name">'+user+'</span> '+info+'</p>');
                $('#comment'+fieldId).val('');
            }
        });
    }
}