GithubHelp home page GithubHelp logo

seaer_mall's Introduction

项目说明

模块插件: 该项目使用多模块插件进行开发,与原生laravel相比略作改变,

例如:php artisan module:make-controller PostsController Blog

其中Blog是模块的名称,该命令在Blog模块中创建了一个控制器。 其他各种命令使用工具请熟读文档。

1.插件源码地址:https://github.com/nWidart/laravel-modules

2.插件说明文档:https://nwidart.com/laravel-modules/v4/introduction

3.用户追踪插件:https://github.com/antonioribeiro/tracker

4.阿里云oss对象储存 :https://github.com/jacobcyl/Aliyun-oss-storage

5.验证码包: https://packagist.org/packages/mews/captcha

6.世界城市列表包: https://github.com/khsing/laravel-world

7.号码验证: https://github.com/Propaganistas/Laravel-Phone

8.商品分类使用的包: https://github.com/lazychaser/laravel-nestedset

9.询盘消息使用的包: https://github.com/cmgmyr/laravel-messenger

10.跨域包: https://github.com/barryvdh/laravel-cors

11.后台权限管理: https://github.com/Zizaco/entrust

##前端脚手架: 参考:https://github.com/yyx990803/laravel-vue-cli-3

##注意事项: 1.使用artisan如果出错 命令时需要在末尾指定对应env 例如:命令行 --env=local

##常用命令: 1.创建修改表的迁移文件 php artisan make:migration alter_TableName_table --table=TableName 2.创建表 php artisan make:migration create_TableName_table 3.创建模型 php artisan make:model path/TableName 4.自动加载文件 composer dump-autoload 5.执行迁移 修改完迁移文件中的up 与 down方法后方可执行 php artisan migrate --env=mall.local 6.第三方包发布配置:php artisan vendor:publish 7.回滚迁移 php artisan migrate:rollback --env=mall.local

##模块中命令: 1.模块中创建模型 php artisan module:make-model Name ModuleName 2.模块中创建控制器 php artisan module:make-controller Name ModuleName 3.创建迁移 php artisan module:make-migration create_company_table Mall 4.执行迁移 php artisan module:migrate Mall --env=mall.local

php artisan make:migration alter_inquiry_participants_table --table=inquiry_participants

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.