Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Virk's avatar
Level 3

How Taylor manages to maintain his code comments.

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..

routes file

/*
|--------------------------------------------------------------------------
| 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.
|
*/

random file from source code

// 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.
0 likes
3 replies
ohffs's avatar

He says he does it manually and is just kinda used to doing it :-)

1 like

Please or to participate in this conversation.