stats4sd/laravel-odk-link
最新稳定版本:v1.0
Composer 安装命令:
composer require stats4sd/laravel-odk-link
包简介
A version 2.0 update to the Kobo Link package, intended to be easier to setup and more flexible by allowing the user to choose between multiple ODK Aggregate services.
README 文档
README
[!NOTE] This Project is Archived!
The newer version of this system is the Filament-based package
Laravel ODK Link
This package enables you to connect your Laravel application to an ODK Central server, and to manage the deployment of ODK forms via a set of CRUD panels built with Laravel Backpack.
The benefit of this package is that it allows you to create a set of "xlsform templates", and then deploy many versions of each template to different "owners". An owner could be an individual user, or a team. This way, multiple groups can work independently and keep their data separate, while still using the same "xlsform templates", and enabling a central team to reeview data from all teams.
NOTE: This is still in development. It currently requires Laravel Backpack Pro, which is a paid product. We hope to be able to refactor this to not require a Backpack Pro licence in the future.
Installation
This package assumes you have already setup your project to use Laravel Backpack. If you haven't, please do so by following their installation guide: https://backpackforlaravel.com/docs/5.x/installation.
You can install the package via composer:
composer require stats4sd/laravel-odk-link
You can publish and run the migrations with:
php artisan vendor:publish --tag="odk-link-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="odk-link-config"
This package comes with a set of CRUD panels designed to help you manage ODK forms and submissions. To add links to these into your Backpack Admin panel sidebar, run the included command:
php artisan odk:crud
This package uses Spatie's Laravel Media Library. To set that up, run the following commands (see their Installation instructions for more information and for custom setups)
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="migrations" php artisan migrate php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="config"
You also need to add some Environment variables to your project. In your .env file, add the following:
### REQUIRED # url of your ODK Central server ODK_URL="https://example-odk-central-server.com" # username and password of an administrator account for your ODK Central server ODK_USERNAME="an-admin-user-account" ODK_PASSWORD="your-password" ### OPTIONAL # the FQDN of the PHP class in your application that is used to process an ODK submission SUBMISSION_PROCESS_CLASS="\\App\\Http\\Controllers\\SubmissionController" # the method within the class. This method should: # - be a public static function # - accept an OdkLink\Models\Submission object as the only required variable SUBMISSION_PROCESS_METHOD="process" ## Use TODO: write up full documentation. ## Credits - [David Mills](https://github.com/dave-mills) - [All Contributors](../../contributors) ## License The MIT Licence (MIT). Please see [Licence File](LICENSE.md) for more information.
stats4sd/laravel-odk-link 适用场景与选型建议
stats4sd/laravel-odk-link 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 176 次下载、GitHub Stars 达 1, 最近一次更新时间为 2022 年 09 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「stats4sd」 「laravel-odk-link」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 stats4sd/laravel-odk-link 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 stats4sd/laravel-odk-link 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 stats4sd/laravel-odk-link 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
This is my package laravel-team-management
Package for an opinionated 'teams' setup, including invites and integration with Laravel Filament + Spatie User Roles
Alfabank REST API integration
Manage KoboToolBox from your Laravel Project
Manage KoboToolBox from your Laravel Project
Laravel package for Accurate Online API integration.
统计信息
- 总下载量: 176
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 15
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-22