{"id":14974447,"url":"https://github.com/onecodemonkey/lara_shop_v2","last_synced_at":"2025-10-07T08:32:19.126Z","repository":{"id":43595755,"uuid":"178346946","full_name":"OneCodeMonkey/lara_shop_v2","owner":"OneCodeMonkey","description":"Single store shopping system developed with laravel5_7.","archived":false,"fork":false,"pushed_at":"2022-12-10T17:06:40.000Z","size":4553,"stargazers_count":56,"open_issues_count":18,"forks_count":17,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-17T05:03:44.185Z","etag":null,"topics":["laravel","laravel-mix","laravel5","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OneCodeMonkey.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-29T06:35:44.000Z","updated_at":"2024-06-06T00:55:14.000Z","dependencies_parsed_at":"2023-01-26T06:45:41.328Z","dependency_job_id":null,"html_url":"https://github.com/OneCodeMonkey/lara_shop_v2","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneCodeMonkey%2Flara_shop_v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneCodeMonkey%2Flara_shop_v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneCodeMonkey%2Flara_shop_v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneCodeMonkey%2Flara_shop_v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OneCodeMonkey","download_url":"https://codeload.github.com/OneCodeMonkey/lara_shop_v2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235607147,"owners_count":19017302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","laravel-mix","laravel5","php"],"created_at":"2024-09-24T13:50:34.668Z","updated_at":"2025-10-07T08:32:13.277Z","avatar_url":"https://github.com/OneCodeMonkey.png","language":"PHP","readme":"[![Build Status](https://travis-ci.org/OneCodeMonkey/lara_shop_v2.svg?branch=master)](https://travis-ci.org/OneCodeMonkey/lara_shop_v2)\n## Laravel Shop\n## 功能\n\n\nLaravel Shop 功能如下：\n\n![_big](https://user-images.githubusercontent.com/324764/41384789-6fa309c6-6faa-11e8-93e0-eeb8d36fe7f7.jpg)\n\n## 项目知识点\n\n-   Composer autoload 功能的使用姿势；\n-   Laravel Mix 的基本用法；\n-   使用 Laravel 快速构建用户登录、注册功能；\n-   使用 MailHog 调试邮件发送功能；\n-   使用 Laravel 的 Notification 模块发送邮件；\n-   优雅地处理 Laravel 项目中的异常；\n-   事件与监听器的使用；\n-   使用授权策略来控制权限；\n-   使用 overtrue/laravel-lang 来汉化错误信息；\n-   laravel-admin 扩展包的安装与配置；\n-   使用 laravel-admin 快速构建对模型的增删改查功能；\n-   使用 laravel-admin 配置后台用户角色、权限；\n-   商品 SKU 的概念；\n-   使用查询构造器根据用户输入来动态构建查询 SQL；\n-   设置 Laravel 路由顺序的正确姿势；\n-   购物车的设计与实现；\n-   使用闭包来校验用户输入；\n-   自定义 Laravel 验证器；\n-   订单流水号的生成；\n-   创建订单时保存用户收货地址信息的正确姿势；\n-   代表状态的值应使用常量；\n-   在 Laravel 中使用数据库事务的正确姿势；\n-   高并发下减商品库存的正确姿势；\n-   延迟任务的使用；\n-   使用预加载与延迟预加载解决数据库 N + 1 问题；\n-   通过对业务代码的封装来提高代码的复用性；\n-  yansongda/pay 扩展包的安装与配置；\n-  支付宝沙箱账号的申请与配置；\n-  微信扫码支付的开通与配置；\n-  拉起支付宝、微信支付；\n-  支付的前端回调与后端回调的概念；\n-  在本地开发环境处理支付宝、微信支付后端回调的正确姿势；\n-  二维码的生成；\n-  管理员收到支付订单开始发货；\n-  用户收到商品后确认收货；\n-  用户确认收货后选择退款；\n-  管理员接到退款请求后的拒绝退款；\n-  支付宝、微信支付的退款处理；\n-  优惠券的设计与实现；\n\n## 截图\n\n\n![0](https://user-images.githubusercontent.com/324764/41385028-c1329666-6fab-11e8-8052-eb8d863cb766.png)\n\n\n![1](https://user-images.githubusercontent.com/324764/41385029-c1a58dba-6fab-11e8-9c15-5cdf85f848b6.gif)\n\n\n![2](https://user-images.githubusercontent.com/324764/41385030-c2034504-6fab-11e8-8b7a-04797afa6b28.png)\n\n\n![3](https://user-images.githubusercontent.com/324764/41385031-c267b3ae-6fab-11e8-815c-5a027ca34318.png)\n\n\n![5](https://user-images.githubusercontent.com/324764/41385032-c2c82de2-6fab-11e8-9aa6-0d88cc486dfe.png)\n\n\n![6](https://user-images.githubusercontent.com/324764/41385033-c32a3140-6fab-11e8-8deb-fb23fe3ae8a6.png)\n\n \n![7](https://user-images.githubusercontent.com/324764/41385034-c39c59c8-6fab-11e8-899a-5f042fa0bd1d.png)\n\n\n![8](https://user-images.githubusercontent.com/324764/41385035-c414fc84-6fab-11e8-82f6-ff50246a4853.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonecodemonkey%2Flara_shop_v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonecodemonkey%2Flara_shop_v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonecodemonkey%2Flara_shop_v2/lists"}