{"repo":"spatie/laravel-blade-comments","free":true,"listed":false,"github":"https://github.com/spatie/laravel-blade-comments","clone":"git clone https://github.com/spatie/laravel-blade-comments.git","description":"Add debug comments to your rendered output","language":"PHP","stars":180,"topics":["blade","laravel","development"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Add debug comments to your rendered output When looking at the HTML of a rendered page, it might not be obvious to you anymore which Blade view is responsible for which HTML. This package will add HTML before and after each rendered view, so you immediately know to which Blade view / component to go to change the output. When you inspect a part of the page using your favourite browser's dev tools, you'll immediately see which Blade view rendered that particular piece of content. Here's a demo where we inspected the breadcrumbs on our own company site. It is immediately clear that the breadcrumbs are rendered by the front.pages.docs.partials.breadcrumbs Blade view. At the top of the HTML document, we'll also add some extra information about the topmost Blade view and the request. Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Installation You can install the package via composer: You can optionally publish the config file with: This is the content of the published config file: Usage After the package is installed, you'll immediately see that HTML comments are injected at the start and end of every Blade view. Excluding views Sometimes you might not want to ha","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/laravel-blade-comments/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}