jeffersonpereira / realestatelaravel
这是一个用于在Laravel系统中管理房地产的包
1.6.1
2024-10-02 02:38 UTC
Requires
- php: >=7.2.5
- doctrine/dbal: 2.*
- intervention/image: ^2.7
- jeffersonpereira/address: 1.*
- laravellegends/pt-br-validator: dev-master
- spatie/laravel-image-optimizer: 1.6.*
- tightenco/ziggy: ^1.2
Requires (Dev)
- fakerphp/faker: ^1.9.1
- laravel/legacy-factories: ^1.0@dev
- nunomaduro/collision: ^3.0
- orchestra/testbench: ^4.0
- spatie/phpunit-watcher: ^1.23
- dev-master
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.3
- 1.4.2
- 1.4.1
- 1.3.26
- 1.3.25
- 1.3.24
- 1.3.23
- 1.3.22
- 1.3.21
- 1.3.20
- 1.3.19
- 1.3.18
- 1.3.17
- 1.3.16
- 1.3.15
- 1.3.14
- 1.3.13
- 1.3.12
- 1.3.11
- 1.3.10
- 1.3.9
- 1.3.8
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- dev-develop
- dev-feat/edit-delete-type-and-sub-type
- dev-14-grud-projects
This package is auto-updated.
Last update: 2024-10-02 02:39:45 UTC
README
描述
用于管理房地产/中介网站的包,使用Laravel框架构建
安装
composer require jeffersonpereira/realestatelaravel
安装包后,需要运行命令以发布配置文件。
php artisan realestatelaravel:install
注意
我们强烈建议使用环境变量,因为当执行安装命令时,配置文件将被覆盖。
该包包含迁移,您需要运行
php artisan migrate
重要说明
当使用您的模板时,使用blade指令和cdn导入font-awesome资产。
注意:我们在资产中使用 bootstrap 5.1
<html> <head> ... <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer" /> @realestatelaravelStyles </head> <body> ... <!-- in finishing body --> @realestatelaravelScripts </body> </html>
包中提供的功能
房产
该包处于开发中,并将随时间添加新功能。目前该包已具备房产的所有管理功能。
视图路由
使用 Menu::class 类获取所有视图路由以开始使用,当使用您的模板时。
use Jeffpereira\RealEstate\Utilities\Helpers\RouteHelper; $routes = RouteHelper::allView();
配置
在您的 .env 中定义配置
/** * Defines whether to use the package `template` * - When set to false, you will need to define a `template` and * section_content for the content. * .env >> RE_USE_TEMPLATE */ 'use_template' => true /** * The name of the `template` used to extend the package view - .env >> RE_TEMPLATE */ 'template' => 'template', /** * Template content section name - .env >> RE_SECTION_CONTENT */ 'section_content' => 'content',
更多选项,请查看 config/realestatelaravel.php 配置文件
事件
- Jeffpereira\RealEstate\Events\BusinessPropertyFinalizedEvent - 当房产业务最终确定时
许可证
Real Estate Laravel 是一个开源项目,由 MIT 许可。