In Laravel 5 the HTML and Form builder got removed because it shouldn’t be in the core of the framework. I can see their point there, but if you are upgrading your project it would be a lot of work to change all those calls. So I want to get the HTML and form builder back. The Laravel Collective maintains (and improve) packages which are removed from Laravel. The HTML and Form package from them is preferred over the
illuminate/html package, because it’s better maintained. So let’s add their package to our Laravel installation.
Continue reading “Laravel 5 quick-tip: Get the HTML and Form builder back”
Currently I’m converting my Laravel 4 application to Laravel 5. When finding tricks or goofs I will post it to this blog.
One of the first thing I’m doing after installing Laravel is changing the public directory. In Laravel 4 it was pretty straight forward, just edit the
bootstrap/paths.php. Unfortunately in Laravel 5 it’s a bit more tricky, but not that hard either.
Continue reading “Laravel 5 quick-tip: Change the public directory”
After using the Microsoft Natural Multimedia Keyboard and the Microsoft Natural Ergonomic Keyboard 4000 with a lot of love, I recently switched to the Microsoft Sculpt Desktop kit. I needed to get used to the new mouse and keyboard, but after a while I loved both of them. Unfortunately I experienced some problems with the keyboard. Especially when playing some simple games I encountered the keys of the keyboard where getting “stuck”. With “stuck” I mean, when not pressing the keys anymore, the computer still thinks I’m pressing the key. Luckily after some troubleshooting I found the solution.
Continue reading “Howto: fix Microsoft Sculpt keyboard sticky keys”
When working with bootstrap I’m developing some small modifications on bootstrap elements. Those modifications can now be found in a github repository.
The bootstrap navbar hover post is one of the most visited blogposts of this blog. Recently I got a questions about this on Twitter by @wang_jina, who wanted to know how to open the bootstrap navbar dropdown menu’s on a hover event but keeping the parent clickable. Time for an update!
Continue reading “Boostrap navbar opens on hover with clickable parent”
The Laravel framework makes a PHP programmers task easier by implementing a lot of features which are pretty much used in every web application. One of those features is authentication, which works like a charm. A part of this feature is remembering a successful authenticated user by setting a cookie.
Continue reading “Laravel: custom cookie expiration time”