PHP

Laravel Upgrading Cycle

Why Laravel Is Not Always Fun Anymore Due To Its Upgrading Cycle

I used to develop projects with PHP only, without a framework. Different classes, functions, etc. Until it became a mess and I was looking for something more structural. Laravel came onto my journey and I love(d) it. Finally having a structured way of writing projects with Model, View and Controller structures with the Blade engine […]

Why Laravel Is Not Always Fun Anymore Due To Its Upgrading Cycle Read More »

Cookie Javascript PHP subdomains

Setting a Cookie on a Subdomain from an AJAX Request with PHP

Cross-domain requests have always been a challenging aspect of web development. When it comes to sending AJAX requests from a subdomain to another subdomain, managing cookies can be even more complex. However, with the right techniques and configurations, it’s possible to set cookies on subdomains securely and efficiently. In this article, we’ll explore how to

Setting a Cookie on a Subdomain from an AJAX Request with PHP Read More »

How to Fix: PHP Fatal error: Uncaught RedisException: ERR AUTH called without any password configured for the default user. Are you sure your configuration is correct?

When setting up PHP Redis in a way like Digital Ocean on a localhost, you might get this error: Fatal error: Uncaught RedisException: ERR AUTH called without any password configured for the default user. Are you sure your configuration is correct? We assume your PHP script starts like this: Because this is a localhost, we

How to Fix: PHP Fatal error: Uncaught RedisException: ERR AUTH called without any password configured for the default user. Are you sure your configuration is correct? Read More »

TileCache OpenStreetMaps

Embedding OpenStreetMap in a Privacy-Friendly Way with Leaflet JS

Embedding OpenStreetMap (OSM) on your website can provide valuable location information to your users. However, due to the General Data Protection Regulation (GDPR), concerns may arise regarding the collection of data like IP addresses by OSM. To address these concerns and try to create GDPR compliance regarding OSM, this developer blog explores an approach to

Embedding OpenStreetMap in a Privacy-Friendly Way with Leaflet JS Read More »

Linkedin API SDK PHP Developers

Using PHP LinkedIn SDK to fetch Company and Profile Information via API

LinkedIn has an API that makes it possible to: Fetch Profile Information like name, email, and updates Fetch Company Information like name, email and updates Post to a Profile Post to a Company And more There’s little written about a PHP implementation for the LinkedIn API. We’ll try to give the best articles and SDKs

Using PHP LinkedIn SDK to fetch Company and Profile Information via API Read More »

Laravel 5: simple multi-tenant/multi-site model setup (many-to-many relation covered as well)

Laravel 5 is a brand new version of the popular framework. Unfortunately, there are no good multi-tenant setups for Laravel 5 yet. That’s why I’d decided to create my own simple version as well, based on Eloquent Global Scopes. In my case I wanted a sites table, with categories that have a many to many

Laravel 5: simple multi-tenant/multi-site model setup (many-to-many relation covered as well) Read More »

Magento A/B testing or Multivariate testing – Php script

Split test A/B PHP Script Magento is quite limited in tools like conversion optimalisation like A/B testing or multivariate testing. That is why I created a very simple php script that you can put directly into a phtml file. It’s a bit hacky, that it’s not via the core, but it works though and is

Magento A/B testing or Multivariate testing – Php script Read More »

jQuery Address and History Forms – Remembering form choices in hash / browserstate (updated version)

For jQuery hash support I like the jQuery Address plugin: http://www.asual.com/jquery/address/ . Especially, if you want to make a form or product filter, you can use this variant: http://www.asual.com/jquery/address/samples/form/ . Though, it doesn’t support checkboxes in the form of arrays like check[]=1&check[]=2 , etc. I updated the plugin with some other libraries and code and

jQuery Address and History Forms – Remembering form choices in hash / browserstate (updated version) Read More »

en_USEnglish
Scroll to Top