Laravel Template

screenshot of Laravel Template
vue
bootstrap
scss
alpinejs

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

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.

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.

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

bootstrap
Bootstrap

Bootstrap is the most popular CSS Framework for developing responsive and mobile-first websites.

scss
SCSS

SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.

alpinejs
Alpine.js

Alpine.js is a lightweight JavaScript framework that simplifies the process of creating dynamic, reactive user interfaces on the web. It uses a declarative syntax that offers a higher level of abstraction compared to vanilla JavaScript, while being more performant and easier to use than jQuery.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.