Skip to content

Mastering PHP and Laravel

Never stop learning!

Menu

  • LastPass – Are your passwords secure?

PHPStorm Shortcuts For Mac

Here are some great keyboard shortcuts I have set up to help you become more efficient in PHPStorm!

Kenny July 15, 2022July 18, 2022 Uncategorized No Comments Read more

Inject Storage in Laravel

How do you inject Storage in Laravel? I’ve noticed in my Google searches that all the examples I come across on how to use the various components of Laravel only show how to use Facades. But what if you want

Kenny May 20, 2021April 27, 2022 Uncategorized No Comments Read more

PHP 8 Named Arguments

In PHP 8, you can use named arguments, which allows you to provide the parameters of a function in any order: PHP 7.x PHP 8 Even if you choose not to reorder the params, it will make the code clearer

Kenny January 30, 2021April 27, 2022 Uncategorized No Comments Read more

A fast way to reformat code in PHPStorm

Today I found a way to do a regex find that makes reformatting code easy. Let’s say we have some code like this: and you want it formatted like this: This is what I prefer because it gives more breathing

Kenny August 25, 2020April 27, 2022 Uncategorized No Comments Read more

pushd / popd

I learned a great Linux command today! I find myself jumping between my web directory and the apache config directory occasionally on my server, and by using pushd from the web directory, I’ll now be able to quickly return to

Kenny June 10, 2020June 10, 2020 Uncategorized No Comments Read more
  • « Previous

Archives

Categories

  • iPhone (2)
  • Learning (42)
  • Linux (4)
    • Debian (1)
  • Mac Terminal / Linux (5)
  • Other Stuff (1)
  • Programming (66)
    • .NET (1)
      • C# (1)
    • Java (1)
    • Javascript (6)
      • AngularJS (1)
      • Node.js (2)
    • MySQL (2)
    • Objective C (1)
    • PHP (45)
      • Community (5)
      • Laravel (9)
        • Eloquent (3)
    • SQL (7)
    • Tools (2)
      • PHP Storm (1)
  • Slim Framework (1)
  • Uncategorized (8)
  • WordPress (3)
Copyright © 2022 Mastering PHP and Laravel. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.