<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ruslan&#39;s Tech Blog</title>
    <link>https://blog.bekenev.net/tags/laravel.html</link>
    <description>Software development related stuff</description>
    <language>en-us</language>
    <lastBuildDate>Tue, 19 Nov 2019 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.bekenev.net/tags/laravel/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Laravel: get all routes and corresponding controllers/actions</title>
      <link>https://blog.bekenev.net/2019/11/19/laravel-get-all-routes.html</link>
      <pubDate>Tue, 19 Nov 2019 00:00:00 +0000</pubDate>
      <guid>https://blog.bekenev.net/2019/11/19/laravel-get-all-routes.html</guid>
      <description>&lt;p&gt;If you want to know the handler of a particular route you need to run this in your terminal:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;php artisan route:list | grep &amp;#39;route.name&amp;#39;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Replace &lt;code&gt;route.name&lt;/code&gt; with your route name.&lt;/p&gt;&#xA;&lt;p&gt;In most cases all routes are defined in files from &lt;code&gt;routes/*&lt;/code&gt; folder but some routes are defined in Laravel itself or some libraries may define its own routes as well.&#xA;So in case you want to override some actions from internal controllers just use that command above to understand what exactly you need to override.&lt;/p&gt;&#xA;</description>
    </item>
  </channel>
</rss>
