MySQL and sorting umlauts like Swedish åäö
utf8_general_ci will sort Ö with O and you should use the utf8_swedish_ci instead. That will have the correct sorting order, which (IIRC) is that ÅÄÖ go to the end of...
Troubleshoot downloads
Most libraries like PHPSpreadSheet seems to use PHP buffer. And depending on your PHP configuration some warnings or errors could interfer with the output. Let’s examine the output before...
Laravel Mix: Module build failed: Error: missing '{'
I encountered this issue when running production on Laravel Mix: However, this seems to be an standing issue: Module build failed: Error: missing ‘{‘ Laravel-mix@master is explicitly using the...
ZIP uncompress errors when installing/updating dependencies in Composer
The other day I ran into some strange problems with Composer. End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one...
Setting $PATH in Laravel Valet/Nginx on macOS
To set PATH for Nginx, open: nano /usr/local/etc/nginx/fastcgi_params Add this line: fastcgi_param PATH /usr/local/sbin:/Users/janne/bin:/usr/local/bin:/Users/janne/.composer/vendor/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin; valet restart