承接 maikealame/laravel-auto 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

maikealame/laravel-auto

最新稳定版本:1.1.3

Composer 安装命令:

composer require maikealame/laravel-auto

包简介

Laravel helper to make almost everything for your project

README 文档

README

logo

Laravel Auto

Laravel helper package to make automated lists with filters, sorting and paging like no other.

Wiki: https://maikealame.github.io/laravel-auto/

Latest Version Software License Total Downloads

You are free to create your own layout and style, there's no layout html/css included !

This package only grants a very automated query in Eloquent with Blade directives.

You can use it either without Blade directives, like Vue.js and React, but you need to implement manually the calls to backend and layout rendering.

table image

table image

$categories = Topic::from("topics as t")
            ->select("t.*")
            ->leftJoin("portals as p", "p.id","=","t.portal_id")
            ->autoWhere()->autoSort()->autoPaginate();

table image

table image

if (Request::has("filter")) {
    if (isset(Request::get("filter")['keyword'])) {
        $keyword = Request::get("filter")['keyword'];
        Auto::setField("notifications.title", $keyword);
        Auto::setField("notifications.description", $keyword);
    }
}
$notifications = Notification::select("notifications.*", "notification_users.readed_at")
            ->groupBy("notifications.id")
            ->leftJoin("notifications_users", "notifications.id", "=", "notifications_users.notification_id")
            ->leftJoin("notifications_roles", "notifications.id", "=", "notifications_roles.notification_id")
            ->leftJoin("notifications_departments", "notifications.id", "=", "notifications_departments.notification_id")
            ->autoWhere(['or' => ["notifications.title", "notifications.description"]])
            ->autoSort(["notifications.updated_at", "desc"])->autoPaginate();

table image

$enterprises = Enterprises::from("enterprises as e"))
            ->select("e.*")
            ->leftJoin("enterprise_indicators_enterprises as iei","eie.enterprise_id","=","e.id")
            ->groupBy("e.id")
            ->autoWhere()->autoSort()->autoPaginate();

table image

See https://maikealame.github.io/laravel-auto/

  1. View
  2. Controller
  3. Model

统计信息

  • 总下载量: 4.66k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 41
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 41
  • Watchers: 4
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-05-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固