Skip to content
Codisfy

Codisfy

Code Satisfaction

Menu
  • Home
  • About Author
  • About Codisfy

Category: PHP

Posted onSeptember 14, 2023September 14, 2023PHP

Writing Unit tests with the System Under Test (SUT) in mind

by codisfyLeave a comment on Writing Unit tests with the System Under Test (SUT) in mind

If you are a fan of dependency injection and also a fan of unit testing, you might have come across the following scenario: You have…

Read More
Posted onNovember 17, 2022November 17, 2022PHP

Core dumped or segmentation fault with Xdebug

by codisfyLeave a comment on Core dumped or segmentation fault with Xdebug

It started a couple months ago that while debugging the code I would get an occasional error like or This was quite frustrating, I had…

Read More
Posted onDecember 7, 2021December 7, 2021JS

Code Snippet: Managing Laravel Session over a NodeJS App

by codisfyLeave a comment on Code Snippet: Managing Laravel Session over a NodeJS App

As any application grows, it transtions over time and teams. It not only needs to keep up with its users but also with the people…

Read More
Posted onAugust 3, 2021August 3, 2021Laravel

Quick Snippet Laravel – Dynamic Storage Disks – Saving files to a dynamic path

by codisfyLeave a comment on Quick Snippet Laravel – Dynamic Storage Disks – Saving files to a dynamic path

Use Case: You have defined your default disk inside config/filesystems.php but this takes in a fixed value like What if the path is stored in…

Read More
Posted onMay 31, 2020May 28, 2020PHP

Ultra Quick Tip: Getting Session Data in a Codeception test using Laravel

by codisfyLeave a comment on Ultra Quick Tip: Getting Session Data in a Codeception test using Laravel

If you are using Codeception for writing your tests for your Laravel applications and you need to get some value stored in the Session, then…

Read More
Posted onMay 9, 2020April 11, 2020Laravel

Quick Tip: The Laravel API docs and eloquent fromSub

by codisfyLeave a comment on Quick Tip: The Laravel API docs and eloquent fromSub

I have worked with a lot of frameworks whether it be PHP or JavaScript and hands down I feel that Laravel has one of the…

Read More
Posted onMay 2, 2020April 16, 2020Laravel

Starting out with Unit Testing: Laravel

by codisfyLeave a comment on Starting out with Unit Testing: Laravel

I had been shying away from writing Unit tests until I started writing them regularly from the last 6 months or so. I was under…

Read More
Posted onApril 18, 2020April 11, 2020Laravel

Laravel Caveat: Implicit binding

by codisfyLeave a comment on Laravel Caveat: Implicit binding

Not sure if this a bug or intended behaviour but there is this little caveat when you use implicit route binding with Laravel .  Let’s…

Read More
Posted onMarch 29, 2020March 29, 2020PHP

So you wanna do Magento2?

by codisfyLeave a comment on So you wanna do Magento2?

If you are looking forward to learning an E-commerce Content Manager and considering picking up Magento2. Even before I start how you can start with…

Read More
Posted onOctober 19, 2019October 19, 2019PHP

Quick Snipp: Switch PHP Versions

by codisfyLeave a comment on Quick Snipp: Switch PHP Versions

Recently had to look after some old PHP projects. Some these project don’t work well with the PHP 7 so I had to constantly switch…

Read More

Posts pagination

Page 1 Page 2 Next Page

Recent Posts

  • Rust for PHP Developers (Part 5)
  • Rust for PHP Developers (Part 4)
  • Rust for PHP Developers (Part 3)
  • Slowly and Steadily Understanding the Value of TDD
  • Rust for PHP Developers (Part 2)

Latest Posts: Acaducate

Selfish Pursuit of Power and Money

My recent trip to Delhi, India in February 2025 sparked reflections not only about external observations but also internal introspections regarding the nature of power and personal growth. It led me to question whether our relentless pursuit of money and power aligns with or detracts from collective societal advancement. The Display of Power Upon landing in Delhi, I observed a… Read more →

मांसाहार और डेरी से दूरी

इससे पहले कि मैं बताऊँ कि कैसे मैंने भारी मात्रा में मांस खाने वाले व्यक्ति से पशु उत्पाद छोड़ने तक का सफ़र तय किया, मैं अपनी “इंसान होने” की निजी परिभाषा साझा करना चाहूँगा। मेरा मानना है कि इंसान सोचने और आत्म-चिंतन करने की क्षमता रखता है। हम प्रकृति से पैदा हुए हैं, लेकिन हमारा व्यवहार केवल प्रकृति के इशारों… Read more →

From Eating Meat Twice a Day to Giving Up Animal Products

Before I dive into the story of how I transitioned from being a heavy meat eater to becoming vegan, let me first share my personal definition of what it means to be human: I believe a human being has the ability to think and reflect. We are created by nature, but our behavior isn’t dictated solely by it. Instead, we… Read more →

Breaking the Habit of Complaining

“Mommy, she took my toy and won’t give it back! she’s being mean to me, and it’s not fair! Can you please tell her to be nice?”. Remember doing something similar when you sibling was bothering you?Growing up, many of us develop a habit of complaining, which often carries over into adulthood. While it’s natural to express dissatisfaction, constant complaining… Read more →

Embracing Trade-Offs

In life, we often face decisions that require us to weigh the pros and cons of various options. Rather than searching for absolute solutions, it’s essential to think in terms of trade-offs – finding the best balance between competing factors. At work I constantly deal with a similar situation, discussing with team mates to settle on a solution to a… Read more →

Recent Comments

  • Mirror of Campus on How to be a better programmer
  • Jesus on PhpStorm with Yarn PnP (What doesn’t work)
  • Anamul on Why you should keep building apps for yourself and what it can teach you
  • sagame1688 on How to be a better programmer – learning on the workplace
  • Sfr on 6 tips to better remote working for developers

Categories

  • Git
  • JS
  • Laravel
  • Love for tech
  • Moonshots
  • PHP
  • random
  • Rust
  • Technical Housekeeping
  • Uncategorized
  • Unit Testing
  • VScode
  • VueJS
  • WSL

Blog Stats

  • 6,763 hits
Amphibious Theme by TemplatePocket ⋅ Powered by WordPress
Go to mobile version