Git Product home page Git Product logo

laravel-skeleton's Introduction

Laravel 8 基础模板

License Latest Stable Version Total Downloads Run in Postman

开箱即用的 Laravel 8 基础结构,只需很少的代码即可快速构建出一个功能完善的高颜值系统。内置丰富的常用组件,开箱即用,让开发者告别冗杂的代码,对 RESTFul 开发者非常友好。

环境

  • PHP >= 7.3
  • Fileinfo PHP Extension
  • Redis PHP Extension(短信、邮件验证码必须)

功能特性

  • 内置 laravel/passport 的授权机制;
  • 扩充 laravel/passport 短信验证码登录;
  • 扩充 laravel/passport 社交账户登录(App);
  • 可选扩充 laravel/passport App扫码登录;
  • 高度完善的控制器、模型、模块模板;
  • 集成常用基础扩展;
  • 内置模型通用高阶 Traits 封装;
  • 自动注册 Policies;
  • 内置用户系统和基础接口;
  • 内置社交账户登录;
  • 内置 DcatAdmin 管理后台;
  • 内置图形验证码;
  • 内置支持邮件验证码(需要Redis);
  • 内置支持短信验证码(需要Redis);
  • 内置支持栏目管理、Tag管理、文章管理;
  • 内置支持文本反垃圾(根据命中的词自动选择是审核还是拒绝);
  • 内置 Sitemap 支持;

可选支持(默认未安装)

安装

  1. 创建项目
$ composer create-project larvacloud/laravel-skeleton -vv
  1. 创建配置文件
$ cp .env.develop .env
  1. 创建数据表和测试数据
$ php artisan migrate --seed
  1. 配置任务调度
* * * * * cd /app/path/project && php artisan schedule:run >> /dev/null 2>&1

然后访问 http://laravel-skeleton.test/ 将会看到网站信息。

License


laravel-skeleton is licensed under The MIT License (MIT).

laravel-skeleton's People

Contributors

xutl avatar larvacent avatar dependabot-preview[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.