Search

The blog - interstellar.

Special Cases for Laravel's Singular Pluralization Feature

Nov 16, 2016

This table lists word endings that will not be affected by the singular method. It includes various word endings like -*ese*, -*ese*, -*ese*, and -*nese*. Additionally, there are special cases where certain words do not have a clear method of handling inflection, such as *brothers*, *children*, *genus*, and *people*.
Calculating Averages Using Collections in Laravel

Mar 23, 2016

Learn how to use the avg method in Laravel collections to calculate the average value of items. You can use the optional $key parameter to specify which property of the collection to average. If no key is provided, the method assumes the collection contains numeric values and averages all items. The avg method also works on collections of objects using the same syntax. Additionally, you can use "dot" notation to average nested properties in arrays or objects.
Xdebug and var_dump

Jul 13, 2015

If you are using Xdebug with PHP and are using the var_dump function it is important to note that Xdebug will limit var_dump 's depth when dumping information ...
Sublime Text Snippets For LeanPub

Jul 12, 2015

← KeePass. Failed to Load the Specified File!
KeePass: Failed to Load the Specified File! Error Fix

Jul 5, 2015

← PHP Slow Response Times
Microsoft .NET Framework Download Locations

Jul 5, 2015

← PHP Slow Response Times
PHP Slow Response Times

Feb 1, 2015

Microsoft .NET Framework Download Locations
Semantic UI Paginator for Laravel 4

Dec 13, 2014

Learn how to create a custom paginator for Semantic UI in Laravel 4 with this step-by-step tutorial. The tutorial provides the necessary HTML markup and code snippets, along with explanations, to guide you through the process. By the end, you'll have a Paginator that generates Semantic UI compatible markup.
jQuery: Checking if an Item is an Array

Oct 25, 2014

Semantic UI Paginator for Laravel 4
Thoughts on a "Guidance Engine"

Oct 18, 2014

We could create a new website targeted at a specific range of topics. I will not point any one out in particular, but the process is fairly straightforward and ...
Laravel and Kint Debugging

Sep 20, 2014

Learn how to enhance your Laravel development workflow by integrating Kint, a powerful debugging tool. Follow the steps provided in this tutorial to require Kint in your project and modify one of its functions to work seamlessly with Laravel. Discover how to use the new lk() function as a replacement for Laravel's dd() function to display detailed Kint table breakdowns. Improve your debugging experience with this simple yet effective solution.
Editing Large Files on Windows

Sep 4, 2014

I haven't had much of a chance to publish any articles or tutorials lately (I do have some awesome ones planned and in the furnace, though!). For this post I'd ...
JavaScript: Checking If a Variable Is Defined

Aug 8, 2014

← Laravel Paginator Pretty URLs
Laravel Paginator Pretty URLs

Jul 28, 2014

Learn how to create pretty pagination URLs with Laravel's paginator in this step-by-step tutorial. By extending the Paginator class and overriding the getUrl() method, you can generate URLs like http://localhost:8000/users/page/1 instead of http://localhost:8000/users?page=1. The tutorial includes code examples and explains how to create a custom PrettyPaginator class and use it in your application. Keep in mind that there might be a package available to accomplish this task, so proceed with caution.

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.