Site Builder Studio

SITEBUILDERSTUDIO

Developers Blog

Resources, tips, and solutions we hope other devs will find when needed.

command alias list , massive time saver

On command line using alias can save a few seconds typing. Do that a billion times then that’s a few billion seconds saved. Devs know what I’m talking about. Alias is a tool I wish I had learned as soon as I learned any command line stuff, how many brief moments ( keystrokes ) I […]

February 17, 2024

WordPress Optimization

Statistics show that faster loading websites lead to more conversions. Keep your visitors attention by never making them wait! It’s worth the effort. When looking to optimize your WordPress site, here are the main things you should be considering; quality of host, efficiency of theme, cache, CDN (Content Delivery Network, so your images, css, js […]

October 11, 2023

Granular permissions in Laravel

In the evolving landscape of web applications, a one-size-fits-all approach to permissions often falls short. Many developers are acquainted with Role-Based Access Control (RBAC), where users are designated roles, and these roles are accorded certain permissions. However, for intricate applications that demand a heightened layer of precision, a more tailored approach becomes essential. Enter Granular […]

August 13, 2023

WordPress Hacked

If you believe your WordPress site has been hacked, it’s essential to act quickly to mitigate the damage and secure your site. Here’s a step-by-step guide on what you should do: Remember, security is an ongoing process. Regularly monitor, update, and backup your site to ensure it remains secure. Checking Logs After a hack, checking […]

August 9, 2023

Tools for Logging

There are numerous log viewing and management tools available for Windows, which can help you parse and understand your logs more effectively. Here are a few options: These tools can handle log files of various formats and sizes. Some also support tailing logs in real time, color coding, filtering and alerting – all of which […]

August 3, 2023

WordPress Development Tools

Here is a list of some useful plugins, tools, and PHP packages that can assist you in WordPress development. They can help to optimize your workflow, debug issues, and add more functionality to your sites. Remember to always verify the compatibility and support of these plugins and packages with your current version of WordPress or […]

August 3, 2023

Stripe Update Subscription Price

The Stripe dashboard is amazing and considered by many to be best in class. It’s certainly hard to find a payment processing service with anywhere near comparable dashboard. But after countless projects building custom Stripe solutions for folks and their business, it has become clear that updating subscription price for all existing subscribers is one […]

May 5, 2023

In Laravel you can batch queries so each only executes if they all do

In Laravel, transactions are handled using the DB facade, which provides a simple interface for beginning, committing, and rolling back transactions. The beginTransaction method is used to start a transaction, and the commit method is used to commit the transaction. If an error occurs during the transaction, the rollBack method can be used to roll […]

April 9, 2023

Expose serves local webhook endpoints for dev/testing

Make your local project webhook endpoints respond like a production endpoint with ‘tunneling’. Similar to Ngrok, you can use expose.dev aka SharedWithExpose on you dev machine. Once installed just go to your sites main directory in the command line ( of course this must be running in a server environment ) , then simply use […]

April 9, 2023

ShipStation API

We had some difficulty with the authorization as the examples/docs on shipstation site aren’t quite clear. Finally got it to work! I’m posting this working example api call to create an order on shipstation api in case it helps other devs in the future. Replace YOUR_API_KEY and YOUR_API_SECRET with yours.

April 7, 2023