graciano/blade-helpers 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

graciano/blade-helpers

Composer 安装命令:

composer require graciano/blade-helpers

包简介

Helpers for laravel blade template inputs.

README 文档

README

Helpers for laravel blade template inputs. Tested in laravel 5.2, 5.3 and 5.4

GitHub license Packagist Other Badge GitHub release

Usage

  <input type="text" name='name' value="{{ input_value($obj, 'name') }}" />
  <!-- this will call $obj->{name} for the value, if none is found (or the obj is null), old('name') will be displayed -->

Or, if you have a checkbox:

  <input type="checlbox" name='accept' {{ input_checked($obj, 'accepted') }} />
  <!-- this will print checked if the obj->accepted (or the old input) is anything but false/null -->

Install

First, require the project with composer: $ composer require graciano/blade-helpers

Add the file in your composer.json files section, like this:

"autoload": {
        "files":[
          "vendor/graciano/blade-helpers/src/helpers.php"
        ],
    }

Then, composer dumpautoload

License

This project is open-sourced software licensed under the MIT license

统计信息

  • 总下载量: 126
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固