Laravel Template screenshot

Laravel Template

Author Avatar Theme by Kantai235
Updated: 14 Feb 2023
13 Stars

這是一份 Laravel 的基礎模板專案,請好好愛護它,謝謝。

Categories

Overview

The Laravel Basic Template is a project that improves upon the Laravel Boilerplate. It includes some additional features and updates. It serves as a starting template for project or system development, with most of the necessary functionalities already implemented. This allows developers to focus on the unique features of their own system. Notable features include comprehensive Chinese language support, two-factor authentication (2FA), an announcement system, and role-based access control (RBAC) for user, role, and permission management. It is built using Laravel 9.x, Vue 3.x, Bootstrap 5.x, and CoreUI 4.x.

Features

  • Chinese language support: The template provides comprehensive support for the Chinese language.
  • Two-factor authentication (2FA): Includes a built-in two-step verification process for added security.
  • Announcement system: Provides functionality to create, delete, modify, and query announcements within the system.
  • Role-based access control (RBAC): Implements a user, role, and permission management system based on roles for access control.

Installation

To install the Laravel Basic Template, follow these steps:

  1. Clone the Laravel-Template repository.
git clone [repository_url]
  1. Create a .env configuration file in the root folder based on the contents of .env.example. Adjust the variables according to your environment settings.

Using Laradock

  1. Install and set up the Laradock environment with Nginx, MySQL, Redis, and Workspace combinations.

  2. Clone the Laravel-Template repository and navigate to the /laradock folder.

  3. Create a .env configuration file in the /laradock folder based on the contents of .env.example. Adjust the variables, such as modifying PHP_VERSION to 8.1, according to your preferences.

Running the Containers

  1. Configure the Laravel-Template environment variables.

  2. Enter the workspace container and navigate to the /var/www folder.

  3. Create a .env configuration file in the /var/www folder based on the contents of .env.laradock.example. Adjust the variables according to your needs.

  4. Install dependencies and start using the Laravel-Template.

Summary

The Laravel Basic Template is an improved version of the Laravel Boilerplate. It provides a starting point for project or system development and includes features such as Chinese language support, two-factor authentication, an announcement system, and role-based access control. The installation process involves cloning the repository and setting up the necessary environment configurations.