<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Laravel on G. T. Wang</title>
    <link>https://blog.gtwang.org/tags/laravel/</link>
    <description>Recent content in Laravel on G. T. Wang</description>
    <generator>Hugo -- 0.162.0</generator>
    <language>zh-tw</language>
    <copyright>G. T. Wang</copyright>
    <lastBuildDate>Thu, 28 Nov 2019 19:14:10 +0800</lastBuildDate>
    <atom:link href="https://blog.gtwang.org/tags/laravel/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Laravel 6 使用 Gates 實做使用者角色、權限分級教學</title>
      <link>https://blog.gtwang.org/php/larave-6-implement-user-roles-and-permissions-using-gates/</link>
      <pubDate>Thu, 28 Nov 2019 19:14:10 +0800</pubDate>
      <guid>https://blog.gtwang.org/php/larave-6-implement-user-roles-and-permissions-using-gates/</guid>
      <description>&lt;p&gt;介紹如何在 Laravel 網頁專案中使用 Gates 功能，實做使用者角色與權限分級，區分一般使用者與管理者。&lt;/p&gt;
&lt;p&gt;

&lt;ins class=&#34;adsbygoogle&#34;
     style=&#34;display:block&#34;
     data-ad-client=&#34;ca-pub-7794009487786811&#34;
     data-ad-slot=&#34;9921134032&#34;
     data-ad-format=&#34;auto&#34;
     data-full-width-responsive=&#34;true&#34;&gt;&lt;/ins&gt;
&lt;script&gt;
     (adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;
&lt;/p&gt;

&lt;h2 id=&#34;建立基本-laravel-專案&#34;&gt;建立基本 Laravel 專案&lt;/h2&gt;
&lt;p&gt;首先參考 &lt;a href=&#34;https://blog.gtwang.org/php/laravel-6-create-project-with-user-authentication/&#34;&gt;Laravel 6 建立含有使用者註冊、登入認證功能的網頁專案教學&lt;/a&gt;，建立好基本的 Laravel 專案，但不要執行 &lt;code&gt;migrate&lt;/code&gt;。&lt;/p&gt;</description>
    </item>
    <item>
      <title>Laravel 6 以使用者帳號名稱或 Email 信箱登入教學</title>
      <link>https://blog.gtwang.org/php/laravel-6-how-to-let-user-login-with-email-or-username/</link>
      <pubDate>Thu, 28 Nov 2019 13:50:49 +0800</pubDate>
      <guid>https://blog.gtwang.org/php/laravel-6-how-to-let-user-login-with-email-or-username/</guid>
      <description>&lt;p&gt;介紹如何修改 Laravel 網頁專案，將預設的 Email 登入方式改為使用者帳號登入。&lt;/p&gt;
&lt;p&gt;

&lt;ins class=&#34;adsbygoogle&#34;
     style=&#34;display:block&#34;
     data-ad-client=&#34;ca-pub-7794009487786811&#34;
     data-ad-slot=&#34;9921134032&#34;
     data-ad-format=&#34;auto&#34;
     data-full-width-responsive=&#34;true&#34;&gt;&lt;/ins&gt;
&lt;script&gt;
     (adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;
&lt;/p&gt;

&lt;h2 id=&#34;建立基本-laravel-專案&#34;&gt;建立基本 Laravel 專案&lt;/h2&gt;
&lt;p&gt;首先參考 &lt;a href=&#34;https://blog.gtwang.org/php/laravel-6-create-project-with-user-authentication/&#34;&gt;Laravel 6 建立含有使用者註冊、登入認證功能的網頁專案教學&lt;/a&gt;，建立好基本的 Laravel 專案，然後在執行 &lt;code&gt;migrate&lt;/code&gt; 之前，編輯 &lt;code&gt;database/migrations/2014_10_12_000000_create_users_table.php&lt;/code&gt; 這一個建立使用者資料表的 migration 設定檔，在其中加入一欄用於儲存使用者名稱的 &lt;code&gt;username&lt;/code&gt; 欄位：&lt;/p&gt;</description>
    </item>
    <item>
      <title>Laravel 6 建立含有使用者註冊、登入認證功能的網頁專案教學</title>
      <link>https://blog.gtwang.org/php/laravel-6-create-project-with-user-authentication/</link>
      <pubDate>Wed, 27 Nov 2019 21:03:38 +0800</pubDate>
      <guid>https://blog.gtwang.org/php/laravel-6-create-project-with-user-authentication/</guid>
      <description>&lt;p&gt;介紹如何使用 Laravel 6 快速自動建立含有使用者註冊與登入認證功能的網頁專案。&lt;/p&gt;
&lt;p&gt;

&lt;ins class=&#34;adsbygoogle&#34;
     style=&#34;display:block&#34;
     data-ad-client=&#34;ca-pub-7794009487786811&#34;
     data-ad-slot=&#34;9921134032&#34;
     data-ad-format=&#34;auto&#34;
     data-full-width-responsive=&#34;true&#34;&gt;&lt;/ins&gt;
&lt;script&gt;
     (adsbygoogle = window.adsbygoogle || []).push({});
&lt;/script&gt;
&lt;/p&gt;

&lt;h2 id=&#34;建立-laravel-專案&#34;&gt;建立 Laravel 專案&lt;/h2&gt;
&lt;p&gt;在安裝好 Laravel 6 的環境中，使用 &lt;code&gt;laravel&lt;/code&gt; 指令建立一個新的 Laravel 專案：&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
