How to render markdown with perfectly highlighted code snippets
When reading technical blogpost around the web, you might have noticed that code highlighting is not always perfect. Shiki is the code highlighter that uses the textmate parser VSCode uses...
Jul 13th 2021
•
freek.dev
Collecting metrics for Flare using event sourcing and laravel-stats
Like most SaaS companies, the Flare back-office features a neat dashboard showing some of our key metrics. Using Laravel Nova, it's pretty easy to aggregate data per model like the...
Jul 13th 2021
•
flareapp.io
Correctly highlighting code using Shiki & PHP
Highlighting code blocks correctly on your website is a more difficult problem to solve than you'd expect. There are many great solutions like Prism or Highlight. js, but they often have...
Jul 11th 2021
•
rias.be
Finding out which ports are in use
Sometimes you want to spin up a process, but the port it wants to bind to is already in use. Or a port isn’t listening to a process as you...
Jul 9th 2021
•
sebastiandedeyne.com
Leaner feature branches
In most projects, we use git flow to some extent — depending on the project and team size. This includes feature branches.
Feature branches (or sometimes called topic...
Jul 7th 2021
•
sebastiandedeyne.com
PHP 8.1: cloning and changing readonly properties
In PHP 8.1, readonly properties aren't allowed to be overridden as soon as they are initialized. That also means that cloning an object and changing one of its...
Jul 6th 2021
•
stitcher.io
Retry requests using curl
We've added a nice addition to our UI. On the "Request" tab of every error. You'll now see a curl command that will resend the request that triggered the error....
Jul 5th 2021
•
flareapp.io
Control exceptions and errors send to Flare
By default, Ignition and the Flare PHP client (if you're using Flare in a non-Laravel application) will always send all the exceptions and errors to Flare.
In the cases where...
Jul 5th 2021
•
flareapp.io
What about typed request classes?
In some of our larger Laravel projects, we prefer to map request data to data transfer objects. By doing so we gain static analysis insights in what kind of data...
Jun 29th 2021
•
stitcher.io
Hello there, new API!
Flare is built for developers. One thing that developers like to do is integrate things. Whenever a service offers an API, it's a bet that developers will use it to...
Jun 28th 2021
•
flareapp.io