上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 69 下一页

2020年10月24日

摘要: Laravel API 错误处理:当异常时,如何返回消息 原文链接:learnku.com/laravel/t/3…讨论请前往专业的 Laravel 开发者论坛:learnku.com/Laravel 基于 API 的项目开发越来越受欢迎,并且使用 Laravel 就能很容易实现。但是在针对如何处理 阅读全文
posted @ 2020-10-24 11:02 刘应杰 阅读(1215) 评论(0) 推荐(0) 编辑

2020年10月23日

摘要: Laravel API Errors and Exceptions: How to Return Responses February 13, 2019 API-based projects are more and more popular, and they are pretty easy to 阅读全文
posted @ 2020-10-23 23:00 刘应杰 阅读(121) 评论(0) 推荐(0) 编辑

2020年10月17日

摘要: 如何使用parted对齐分区以得到最优性能 svdata 2015-04-02 10:26:30 9425 收藏 3 分类专栏: Linux基础 运维 来源地址: http://rainbow.chard.org/2013/01/30/how-to-align-partitions-for-best 阅读全文
posted @ 2020-10-17 08:08 刘应杰 阅读(633) 评论(0) 推荐(0) 编辑

2020年10月16日

摘要: Laravel Faker 使用技巧 2895 / 1 / 发布于 1年前 / 资料分享GitHub : https://github.com/fzaninotto/Faker Laravel 中获取 Faker 实例 $faker = app(Faker\Generator::class); 使用 阅读全文
posted @ 2020-10-16 21:07 刘应杰 阅读(230) 评论(0) 推荐(0) 编辑
摘要: parted创建磁盘分区并创建LVM(Linux合并多块大于2T的磁盘并合并到一个分区) likemebee 2019-01-02 18:28:00 2619 收藏 3 分类专栏: linux运维 版权 一. 前言 由于本人会负责一些公司运维工作,在服务器需要挂载大容量磁盘时了解到lvm和parte 阅读全文
posted @ 2020-10-16 11:59 刘应杰 阅读(1219) 评论(0) 推荐(0) 编辑

2020年10月15日

摘要: <?php namespace Faker; /** * @property string $name * @method string name(string $gender = null) * @property string $firstName * @method string firstN 阅读全文
posted @ 2020-10-15 20:40 刘应杰 阅读(348) 评论(0) 推荐(0) 编辑

2020年10月12日

摘要: Run Laravel Scheduler Laradock provides 2 ways to run Laravel Scheduler 1 - Using cron in workspace container. Most of the time, when you start Larado 阅读全文
posted @ 2020-10-12 23:31 刘应杰 阅读(134) 评论(0) 推荐(0) 编辑

2020年9月26日

摘要: Laravel数据库测试的另一种方案-SQLite Laravel数据库测试 在测试方面,Laravel内置使用PHPUnit提供了非常方便的解决方案。而对于数据库增删改查的测试,要解决的一个很重要的问题就是如何在测试完成之后,恢复数据库的原貌,例如要测试一个用户注册的方法,需要插入一条用户记录到数 阅读全文
posted @ 2020-09-26 16:18 刘应杰 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 打开 phpunit.xml 文件,把已注释的下面两行取消注释: <!-- <server name="DB_CONNECTION" value="sqlite"/> --> <!-- <server name="DB_DATABASE" value=":memory:"/> --> 阅读全文
posted @ 2020-09-26 16:16 刘应杰 阅读(378) 评论(0) 推荐(0) 编辑

2020年9月25日

摘要: Generate Fake Data Using Laravel Faker August 24, 2019 - by Chintan Panchal - Leave a Comment Table of Contents Generate Fake Data Using Tinker Genera 阅读全文
posted @ 2020-09-25 23:20 刘应杰 阅读(238) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 69 下一页

导航