{"repo":"spatie/laravel-visit","free":true,"listed":false,"github":"https://github.com/spatie/laravel-visit","clone":"git clone https://github.com/spatie/laravel-visit.git","description":"Quickly visit any route in your Laravel app","language":"PHP","stars":159,"topics":["php","laravel","testing","route","debug"],"license":"MIT","category":"dev-tools","readme_excerpt":"Quickly visit any route of your Laravel app This package contains an artisan command visit that allows you to visit any route of your Laravel app. The command display the colorized version of the HTML... ... followed by a results block. The command can also colorize JSON output. It also has support for some Laravel niceties such as logging in users before making a request, using a route name instead of and URL, and much more. Want to use visit to visit any site The spatie/visit tool can be installed globally to visit any site. 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: To colorize HTML, you should install bat . To colorize JSON, you should install jq . Optionally, you can publish the config file. This is the content of the published config file: Usage To visit a certain page, execute php artisan followed by a URL. Instead of passing an URL, you can pass a route name to the route option. Here's an example where we will visit the route named \"contact\". Using a different method By default, the visit command will make GET request. To use a different HTTP verb, you can pass it to the method option. Passin","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/laravel-visit/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."}