Dylan Baine
I’m a Staff Software Engineer from Fort Wayne, Indiana working at Sweetwater Sound.
I also do web development and SEO consulting on the side.
If you’re interesting in reading some short stories I’ve written, you can see those at goingforwords.com.
Recent Posts
- Properties in PHP interfaces.Do PHP interfaces have properties? Unfortunately, no. There is no current versions of PHP interfaces support properties. Can I put properties in PHP interfaces? You can’t declare properties in PHP interfaces, but you can add a doc-block to interfaces that infer properties. See below for an example to implement properties in PHP interfaces. How to… Read more: Properties in PHP interfaces.
- How to install Headless Chrome on a Laravel Forge server for chrome-php.This post will go over how I installed chromium binary on a Laravel Forge server. I have a PHP Application hosted that leverages the chrome-php package. This is a Vultr Compute VM server is managed by Laravel Forge. In order to install the chrome binary I had to ssh into my vultr server and run… Read more: How to install Headless Chrome on a Laravel Forge server for chrome-php.
- How to point a Namecheap domain at your server I.P.This article will go over how to point your Namecheap domain at a server IP address. Finding your domain in the dashboard. After logging in to your Namecheap account you will be directed to your dashboard, which should look like this. Once you find your domain in this page, you want to click the “Manage”… Read more: How to point a Namecheap domain at your server I.P.
- A cleaner way to dynamically style elements in PHPIf you’ve ever found yourself writing nasty inline php if statements in order to dynamically add styles or classes to your HTML, then this package might just be for you. I just released the first version of ComputedStyles php which provides an elegant API for applying styles and classes to HTML. Imagine turning this code:… Read more: A cleaner way to dynamically style elements in PHP
- Dependency Inversion: An ExampleThe easiest way to make your code is more extensible is by making sure that your high level code and low level code aren’t mixed together. What’s high level and low level code? In this context, low level code would be considered code that interacts with a data store, filesystem, or third party API’s/libraries. High… Read more: Dependency Inversion: An Example