dxladner

dxladner

Member Since 4 Years Ago

Experience Points
21,940
Total
Experience

3,060 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
206
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.

Level 5
21,940 XP
Aug
20
2 months ago
Activity icon

Replied to ZSH On Mac, Does Not Install PHP Packages Using Composer Since Update To Catalina 10.15.5

@maverickchan thanks again. tried all of your suggestion without success. I even went through and checked file/folder permissions with no luck.

cannot figure out why some projects, I can run composer install and it works perfectly and the rest nothing happens.

my npm install works perfectly on everything.

I am stumped. Dont know where to turn.

Any suggestions from anyone?

Aug
18
2 months ago
Activity icon

Replied to ZSH On Mac, Does Not Install PHP Packages Using Composer Since Update To Catalina 10.15.5

@maverickchan thanks again, so I am trying to move over to Valet but cannot get it to download.

As usually it just sits there and does nothing.

composer global require laravel/valet

nothing will install

somewhat dead in the water on certain projects until I find a fix.

I did confirm that my terminal is using the zprofile and zshrc that I am editing.

Thanks again for all of your help.

Aug
17
2 months ago
Activity icon

Replied to ZSH On Mac, Does Not Install PHP Packages Using Composer Since Update To Catalina 10.15.5

@maverickchan thanks for the help. So it seems that with the new Mac updates, they have made zsh the default shell. I already had zsh and oh my zsh installed and working using my older bash_profile script. With this update, it makes the bash_profile to not work. So I moved over my settings from my bash_profile to my zprofile file and of course still does not work.

I have tried everything I could think of. I have uninstalled oh my zsh and using Brew to reinstall zsh, reinstalled ohmyzsh, Brew did a clean up. No luck.

After reinstalling zsh, I try to change my shell using the path where Brew installed the original version that I had working for years, but every time I try to change my shell path, mac will not let me. states Non Standard Shell

I even tried to change it back to bash and the same non standard shell.

I then told my .zprofile file to use my bash_profile and it states this script is deprecated.

Nothing is working, and my Mac forces me to use zsh at bin/zsh

Thanks for all of the help.

Activity icon

Replied to ZSH On Mac, Does Not Install PHP Packages Using Composer Since Update To Catalina 10.15.5

@maverickchan

Yes official documentation.

composer version 1.10.10

I have been using this macbook and composer without any issues for the past 3 years.

This just started with the update to Catalina 10.15.5.

So yesterday, I went ahead and updated to the most recent ios version 10.15.6. Hoping that would maybe fix any issues.

No luck.

Again some situations composer works perfectly. Then other situations it does not. See pervious post.

Aug
16
2 months ago
Activity icon

Replied to ZSH On Mac, Does Not Install PHP Packages Using Composer Since Update To Catalina 10.15.5

@MaverickChan

so it appears to be using the same PHP.

 MAMP/htdocs/miniblog which php
/Applications/MAMP/bin/php/php7.4.2/bin/php

MAMP/htdocs/miniblog php -v
PHP 7.4.2 (cli) (built: Feb 17 2020 12:56:02) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

Aug
15
2 months ago
Activity icon

Replied to ZSH On Mac, Does Not Install PHP Packages Using Composer Since Update To Catalina 10.15.5

More testing. This is so crazy. So now I already have a Laravel app on my local. So I tried to install Laravel DebugBar. The results nothing happens.

I cannot pin point where the issue is.

  1. Composer create-project does not work for any Laravel version.
  2. I download a copy of Laravel from github: git clone. Then composer install nothing.
  3. I then git cloned another one of my Laravel apps in a github repo. I then composer install and it WORKS. Pulls all PHP packages
  4. I then go to a different working Laravel app on my local Macbook, I then try to install Laravel Debugbar, and it does not work.

This is frustrating.

Activity icon

Replied to ZSH On Mac, Does Not Install PHP Packages Using Composer Since Update To Catalina 10.15.5

Still testing. So I went to github found the laravel 5.7 branch. Git cloned to my local. So now I have a copy of Laravel 5.7, I then composer install nothing.

Activity icon

Replied to ZSH On Mac, Does Not Install PHP Packages Using Composer Since Update To Catalina 10.15.5

OK. let me adjust my issue. Doing some testing, I git cloned a Laravel repo to my htdocs. Then I composer install and it worked fine.

So it seems when I try to use this composer command to pull a fresh Laravel instance. This does not work.

composer create-project --prefer-dist laravel/laravel blog

I tried older versions the same

composer create-project --prefer-dist laravel/laravel blog "5.8.*"
Activity icon

Started a new Conversation ZSH On Mac, Does Not Install PHP Packages Using Composer Since Update To Catalina 10.15.5

Here is my Mac setup. I am running MAMP 5.7 I also have iTerm 2 w/ zsh installed. Everything was running fine before update.

I had to restart my macbook which then went into a software update. So it updated to 10.15.5 Catalina.

Now, when I am in the terminal, either iTerm 2 zsh, PHP Storm, or Visual Studio Code. my terminal will not run composer install or composer update. It just sits there. No errors. It starts, I get the normal starting line

Loading composer repositories with package information Updating dependencies (including require-dev)

But nothing happens.

In iTerm2 I have the correct PHP path which is /Applications/MAMP/bin/php/php7.4.2/bin/php composer path is correct: /usr/local/bin/composer

I have ran composer clear-cache.

Nothing is working.

Ran composer diagnose. Everything is good. All green OK.

Any help would be greatly appreciated.

I also tried the verbose flag and the same.

Jun
09
4 months ago
Activity icon

Replied to Advanced Query Help

thanks @pedrocpinto . your solution worked, much cleaner and easier to work with.

Appreciate the assist!

Jun
08
4 months ago
Activity icon

Replied to Advanced Query Help

Well it seems everytime I finally break down and post to Laracasts forum. I end up finding my own solution.

So I kept trying to use DB::raw without success, but wrapping it in a DB::select does the job.

Here is my working query for Laravel DB syntax

DB::select(DB::raw('SELECT id,company_name, company_code, company_contact_name, company_contact_email, company_contact_phone, (SELECT COUNT(id) FROM riders WHERE company_id = companies.id) as ridercount FROM companies'));

Activity icon

Started a new Conversation Advanced Query Help

Need some help writing the following mysql working query. Works perfectly in as Normal SQL syntax in mysql workbench into Laravel DB syntax. I am banging my head trying to get this to work using Laravel DB.

SELECT id, company_name, company_contact_name, 
(SELECT COUNT(id)
  FROM riders
  WHERE company_id = companies.id) as ridercount
FROM companies

So I query companies table and get what I need, then using that company id, I pass that company id in the second Inner select statement where clause and using Count function, I get the number of riders for that company. here is a brief test example of what is returns

id name company_contact_name ridercount

75 Laravel LLC Taylor Otwell 11

any help would be greatly appreciated.

May
10
5 months ago
Activity icon

Replied to Best Approach For Sending Out Mass Emails & SMS Message

thanks drewdan for the advice. I will take a look at going this direction.

Thanks, Darreb

Apr
30
5 months ago
Activity icon

Started a new Conversation Best Approach For Sending Out Mass Emails & SMS Message

Was wondering the best path forward to sending out mass emails and SMS message. For example, we have a daily message in our Intranet (built using Laravel 6). There is a daily message that needs to go out, using Emails and SMS notifications usually this will contain a link to a document or sometimes just text content.

Doing research since I have never worked with any of Laravels broadcasting, notifications, etc.. what would be the best way to approach this?