shez1983

Member Since 5 Years Ago

London

Experience Points
108,315
Total
Experience

1,685 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
227
Lessons
Completed
Best Reply Awards
110
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 22
108,315 XP
Jan
19
6 days ago
Activity icon

Replied to How Can I Increase Memory Limit Of Laravel Project

someone gave u a reply - which u did, but u gave yourself best answer - thats what you did wrong as have said..

Jan
13
1 week ago
Dec
07
1 month ago
Activity icon

Replied to Php Artisan Test - Environment

so whats the point of the .env.test file? is it used ANYWHERE anymore?

Nov
25
2 months ago
Activity icon

Replied to How To Save Requests From One Form And Then Pass Those Request To Another Form In Laravel?

i mentioned what u shud be doing... its not a redirect its a return view(... , with request data). i gave u both options..did u try the 2nd? however even if you need data from form 1 into form 2.. you can still SAVE It in the db, return a model from db and pass that to your 2nd form.. seems like you are a beginner and need to go over some basics

Nov
24
2 months ago
Activity icon

Replied to How To Save Requests From One Form And Then Pass Those Request To Another Form In Laravel?

see it all helps.

but WHAT i would do is, in step 1, i would save all the info in the db.. then display form 2 as you technically dont need info from step 1 in step 2 do you? then you save info from step 2...

however if you want to do it the way you said you shouldnt do a redirect.. just do a normal view(step2, ['data' => $request->all()])

Oct
02
3 months ago
Activity icon

Replied to Composer Takes Ages To Update

have u googled this error? it led me to: https://github.com/composer/composer/issues/7665 one of ur packages might be causing it? try removing them one by one to see which one it is.. long shot.

Sep
12
4 months ago
Activity icon

Replied to Temporary URL If The Avatar Column Is Null

so normally you would CHECK That first in ur e.g check this->avatar is null or not and then use the tempUrl() func.. if null u usually have some kind of placeholder image that wud show up so no need to make that private just use normal public folder link / s3 etc

Activity icon

Replied to Laravel 7 Vs Laravel 8 Dilemma

seriously there is no reason not to start with 8 for a new project - its really not that different than 7...

Sep
04
4 months ago
Activity icon

Replied to Public Folder Not Found

are you using mix/elixir by any chance?

Activity icon

Replied to Upgrade Laravel 5.8 To 6.0, New Routes Not Working

what happens if u try to change the api url for an old route so if old route was 'test' change that to test2 and see if that works..

does lumen have bootstrap/cache folder? if so try deleting the cache files in there

Sep
02
4 months ago
Activity icon

Replied to Shopping Cart Total Prices With Changes On Separate Component

yes i think they should be the same component! no need to split it out to another component..

Activity icon

Replied to How To Post Form Data Through Guzzle In Api

whats the response ie dd($response).. plus you might have CSRF issue in the API so make sure you have some exceptions in VerifyCSRF token middleware in the api

Activity icon

Replied to Laravel Calculate Price In Blade File By Adding Price Per Quantity To Base Price For 1 Quantity

you probably need a helper func (accessor or just plain func) in orderItems Model... which calculates price for an item.. you would then use that here directly.

Activity icon

Replied to Use Laravel Dusk In A Controller

i have done soemthing similar in the past to scrape data - i basically created dusk tests.. and just ran then using pho artisan dusk...

in your case what have you tried so far?

one thing i would do is use scheduler/cronjob to run this from command line so you have a script that just calls Artisan command 'dusk' $this->artisan() or Artisan::call('dusk').. (or hoewver u call artisan commands)...

so in your controller you would schedule this to run in the background and perhaps u get notified (if u need this) once its done scraping..

Activity icon

Replied to How To Perform Advanced Validation In Laravel

use form request and perhaps a custom Validator class.. example in the docs

Activity icon

Replied to Tutorial On Messaging

its really quite simple you just need a comment table which has the two users_ids, comment, date..

Activity icon

Replied to Shopping Cart Total Prices With Changes On Separate Component

i am certainly not an expert in Vue.. but u need to let the parent know when something changes using event/listeners (vue style not laravel)

BUT i think you can have both cart product/cart as one component..

Activity icon

Replied to How To Avoid Repetition Of Code In My Controller

from my pov you can rewrite the whole code so you only have that foreach once..

so instead of

if (Auth::user()->hasRole('Line Manager')) {
        if($manageremployees_count <= 3)
        foreach()...

you can use the if/else ifs to return the errors you want so do:

if (Auth::user()->hasRole('Line Manager')) {
        if($manageremployees_count > 3)
        {
		return error
        }
etc

and then afterwards do foreach once. because all those foreach are acting on same amount of users and has nothing to do with if/elses u have..

finally just before your foreach you could setup the array with %s as variables and then use sprintf inside to replace them with each (optional)

but your line1/body are the same so you could probably dry that out together with actionUrl..

Aug
30
4 months ago
Activity icon

Replied to Group Columns Is Illegal Issue On Live Server But Not On Local Server

do you have diff mysql version on local vs live? that can be the only situation imo?

Aug
06
5 months ago
Activity icon

Replied to Start With Laravel 6

I think nothing could be worse than codeigniter.. i would gladly take YII if i had to choose between them - and thats not even knowing NOTHING about YII

Aug
03
5 months ago
Activity icon

Replied to Unable To Delete A Post

because he is being ungrateful! and wants point for himself.. ;) which is sad really