laravel-5

    -1热度

    1回答

    我想在我的项目上运行composer install时发生错误。 象这样的错误发出: [email protected]:~/Triplogic/tripologic-admin-laravel$ sudo composer install Loading composer repositories with package information Installing dependencie

    2热度

    2回答

    我张贴到一个API,其中一个失败的回应是故意的输出: return response()->json([ 'message' => 'Record not found', ], 422); 在Chrome浏览器开发工具,我可以看到我得到的​​ 在javascript中我希望响应422响应获取消息并记录下来,但我很努力这么做,这里是我的javascript: axios.p

    0热度

    1回答

    我需要良好的邮件库来处理邮件服务器的发送和接收邮件。我在Google中搜索并找到Zeta Mail Component,但我不知道在Laravel 5.x项目中使用。我该怎么办?如何添加Laravel项目并使用它?通过作曲家

    2热度

    2回答

    在laravel 5时尝试执行SQL命令其我不明白上phpmyadmin任何错误:在laravel SELECT shoppings.*, sum(shoppings.ordering_count) FROM `shoppings` join products on products.id = shoppings.product_id where `shoppings`.`user_order

    0热度

    1回答

    所以我必须位于一个非常基本的控制器:app/Http/Controllers/RentalRequestController namespace App\Http\Controllers; use Illuminate\Routing\Controller as BaseController; class RentalRequestController extends BaseContro

    0热度

    4回答

    我删除了所有的数据库表,但我的错误是: table.questions存在 ,所以我不能迁移它们,它依赖于别的东西以及?

    1热度

    1回答

    我测试我的Laravel流明API与邮差,我的控制器使用URL查询参数如下图所示 $router->get('/ByName/{contactGov}', '[email protected]'); 我在邮差网址是http://localhost/apitest/public/ByName/BGD 和每一件事情从数据库中检索数据工作正常,但当我使用阿拉伯字符如 http://localhost

    0热度

    2回答

    我得到这个错误: Missing required parameters for [Route: topics.update] [URI: topics/{topic}]. (View: C:\xampp\htdocs\phpboards\resources\views\topics\edit.blade.php) 这是链接,将采取用户编辑: <a href="/boards/topics/e

    0热度

    3回答

    因此,我有2个名为'主题'和'帖子'的表。 主题是线程和主题的主要内容的答复。 所以,我想如果用户删除它的话题,那么它的下面的回复/帖子也应该删除。 这是我删除形式: {!! Form::open(['action' => ['[email protected]', $topic->id], 'method' => 'POST', 'class' => 'pull-right']) !!}

    3热度

    1回答

    我在我的要求下两个数组: from = ["Dec 24,2017",.....] to = ["Dec 21,2017",....] 而且我已经添加在Laravel验证规则对他们 'from.*' => 'required', 'to.*' => 'required', 但现在我有添加新的验证规则。 “from”中的第一个元素必须小于或等于“to”中的第一个元素,并分别用于数组中的其