kevupton / ethereal
为laravel提供的扩展功能
v2.4.8
2018-05-06 03:32 UTC
Requires
- php: >=5.3
- kevupton/laravel-json-response: ^0.0.10
Requires (Dev)
- barryvdh/laravel-ide-helper: ^2.4
- laravel/laravel: 5.5.*
- laravel/lumen-framework: 5.5.*
- dev-master
- v2.4.8
- v2.4.7
- v2.4.6
- v2.4.5
- v2.4.4
- v2.4.3
- v2.4.2.5
- v2.4.2.4
- v2.4.2.3
- v2.4.2.2
- v2.4.2.1
- v2.4.2
- v2.4.1
- v2.4
- v2.3.9.6
- v2.3.9.5
- v2.3.9.4
- v2.3.9.3
- v2.3.9.2
- v2.3.9.1
- v2.3.9
- v2.3.8
- v2.3.7
- v2.3.6
- v2.3.5
- v2.3.4
- v2.3.3
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.9
- v2.2.8
- v2.2.7
- v2.2.6
- v2.2.5
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.9
- v2.1.8
- v2.1.7
- v2.1.6
- v2.1.5
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0.1
- v2.1.0
- v2.0.9
- v2.0.8
- v2.0.7
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.1.2.1
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.71
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0
This package is auto-updated.
Last update: 2024-09-15 12:34:32 UTC
README
Laravel 扩展包。
扩展核心 Laravel 框架,提供更简单、更快的开发体验。
查看wiki以查看示例和完整文档。
Wiki
安装
下载
使用composer将包下载到您的项目中。
composer require kevupton/ethereal
设置
然后,将 Kevupton\Ethereal\Providers\EtherealServiceProvider
添加到您的 app.php
配置文件中的 providers
部分。
'providers' => [ /* * Laravel Framework Service Providers... * Place at the end of the array */ Kevupton\Ethereal\Providers\EtherealServiceProvider::class, ],
基本用法
只需扩展 Kevupton\Ethereal\Models\Ethereal
类,而不是Laravel Model类,为每个希望拥有Ethereal功能的模型。
<?php namespace My\Namespace\Location; use Kevupton\Ethereal\Models\Ethereal; class Example extends Ethereal { }
查看wiki以获取完整的用法文档。
作者:Kevin Upton