<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Linus Juhlin</title>
    <description>The latest articles on DEV Community by Linus Juhlin (@juhlinus).</description>
    <link>https://dev.to/juhlinus</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F127734%2F87498b9b-9694-43f4-ac26-0bffd6b06354.jpg</url>
      <title>DEV Community: Linus Juhlin</title>
      <link>https://dev.to/juhlinus</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/juhlinus"/>
    <language>en</language>
    <item>
      <title>CRUD scaffolding in Laravel</title>
      <dc:creator>Linus Juhlin</dc:creator>
      <pubDate>Sat, 19 Jan 2019 11:38:45 +0000</pubDate>
      <link>https://dev.to/juhlinus/crud-scaffolding-in-laravel-2bai</link>
      <guid>https://dev.to/juhlinus/crud-scaffolding-in-laravel-2bai</guid>
      <description>&lt;p&gt;I've recently started working at a company here in Tokyo, Japan called HeyaTalent. I'm loving it so far, I working with my favorite framework in one of the most beautiful countries in the world.&lt;/p&gt;

&lt;p&gt;But I noticed that I'm repeating myself a lot when I'm writing my code, as far as creating CRUD resources go.&lt;/p&gt;

&lt;p&gt;I therefor decided to try my hand at creating my first ever Laravel Package! Yay!&lt;/p&gt;

&lt;p&gt;It's a very simple package to use, but saves you tons of time.&lt;/p&gt;

&lt;p&gt;Simply require the package with composer from packagist.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;composer require heyatalent/laracrud&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The package utilizes package auto-discovery, so you're all set after installing it.&lt;/p&gt;

&lt;p&gt;Now you just need to decide the resource's name and call the command like so;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;php artisan make:crud Post&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This will generate a Controller, Model, Migration(which it will migrate), Views, and append your Resourceful Controller to the &lt;code&gt;routes/web.php&lt;/code&gt; file.&lt;/p&gt;

&lt;p&gt;It also comes with some scaffolding, so that you can start using it right away.&lt;/p&gt;

&lt;p&gt;If you have any thoughts or can think of any improvements then I'd love to hear from you!&lt;/p&gt;

&lt;p&gt;Submit an issue in the Github repo or shoot me a message &lt;a class="comment-mentioned-user" href="https://dev.to/juhlinus"&gt;@juhlinus&lt;/a&gt;
 on Twitter.&lt;/p&gt;

&lt;p&gt;I hope you get as much use out of this package as I will!&lt;/p&gt;

&lt;p&gt;Until next time.&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>crud</category>
      <category>generator</category>
    </item>
  </channel>
</rss>
