laraform/laraform master 1Branch7Tags Code README License Security Dynamic Form Builder for Laravel with Vue.js Create even the most complex forms with ease, using two-sided validation, eloquent, nested elements, conditional logic, wizards and many more....
本月 0 GitHub Cortex Forms is a frontend layer for the dynamic form builder for Laravel, it's like the missing gem, the possibilities of using it are endless! With flexible API and powerful features you can build almost every kind of complex form with ease. ...
Dynamic Search ParametersTypesense allows you to modify your search parameters dynamically when performing a search operation via the options method:use App\Models\Todo; Todo::search('Groceries')->options([ 'query_by' => 'title, description' ])->get();Configuration...
* Make dynamic calls into the collection. * * @param string $method * @param array $parameters * @return mixed */ public function __call($method, $parameters) { return $this->getCollection()->$method(...$parameters); }我们会发现,这个魔术方法调用的是 Collection 里面的方法,也就是说,我...
Dynamic ScopesSometimes you may wish to define a scope that accepts parameters. To get started, just add your additional parameters to your scope method's signature. Scope parameters should be defined after the $query parameter:1<?php 2 3namespace App\Models; 4 5use Illuminate\Database\...
新增:动态字段类型dynamicFields 新增:GridFilter新增支持高级Handle查询方法 新增:字段增加formShowOnly属性,可设定只在表单中显示 新增:管理员RoleConfig和UserConfig配置,支持更多权限控制 优化:列表样式item-a图标显示优化 优化:微信支付配置信息异常提醒 优化:上传附件删除是否存在判断 优化:表单UI禁用状态背景样式 优化...
The first argument passed to the hasOne method is the name of the related model. Once the relationship is defined, we may retrieve it using Eloquent's dynamic properties:1$phone = User::find(1)->phone;The SQL performed by this statement will be as follows:...
binarcode/laravel-restifyThe first fully customizable Laravel JSON:API builder. "CRUD" and protect your resources with 0 (zero) extra line of code.610 ahmedesa/laravel-api-tool-kitSupercharge your API development with standardized responses, dynamic pagination, advanced filtering, and a one-click ...
Dynamic ScopesSometimes you may wish to define a scope that accepts parameters. To get started, just add your additional parameters to your scope method's signature. Scope parameters should be defined after the $query parameter:<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; ...
本文链接地址: 50分钟学会Laravel 50个小技巧 原文链接:《 50 Laravel Tricks in 50 Minutes by willroth 》 Eloquent 1.Automatic model validation class Post extends Eloquent { public static $autoValidate = true; protected static $rules = array(); ...