Level 46
OCD!
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have noticed and even Jeffrey has talked about it several times in his videos, that comments inside Laravel code are structured so beautifully.
Every next line of comment is 3 characters short from the previous line and i am still wondering how is he able to do this because doing it manually is so tedious.
Examples..
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
// For each server in the array, we'll just extract the configuration and add
// the server to the Memcached connection. Once we have added all of these
// servers we'll verify the connection is successful and return it back.
Please or to participate in this conversation.