本书未发布

介绍

未匹配的标注

文档尚未来得及翻译,欢迎以改进的方式提交译文。

Introduction

overview.jpg

Overview

Administrator is an administrative interface builder for Laravel. With Administrator you can visually manage your Eloquent models and their relations, and also create stand-alone settings pages for storing site data and performing site tasks.

For each Eloquent model you can define which fields an administrative user can edit, which columns to display in the results table, custom action buttons, and the filters that they will be able to use. These fields can also be "belongsTo" and "belongsToMany" relationships (but not "hasOne" and "hasMany" relationships), allowing your users to easily manage how data on your site is related.

Authentication

Unlike many other admin interface systems, Administrator doesn't come with authentication built in. Instead of providing an extra auth layer on top of what you already have, Administrator pipes into your existing authentication. By using "permission" anonymous functions, you can use your auth system to determine if the current user should have access to something.

Eloquent

Most importantly, Administrator is built with the Eloquent ORM in mind, so it won't get in the way of you using normal Eloquent features like accessors, mutators, and events.

For more on how to configure your Eloquent models with Administrator, see the model configuration docs

Settings Pages

If you want to just have a simple settings page where you get to define the validation rules, the fields, and the actions, you can do that! It's incredibly easy to create a page with any combination of fields (e.g. a checkbox to determine if your site is online or offline) or custom actions (e.g. a "clear cache" button).

For more on how to create a settings page, see the settings configuration docs

Installation / Guidance

To get started with Administrator, check out the installation guide.

If you need some guidance, check out the tutorials.

本文章首发在 LearnKu.com 网站上。

上一篇 下一篇
Summer
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 0
发起讨论 只看当前版本


暂无话题~