rockhopsoft/survlooporg
Composer 安装命令:
composer require rockhopsoft/survlooporg
包简介
Survloop is a Laravel-based engine for designing a database and creating a mobile-friendly user interface to fill it.
关键字:
README 文档
README
Survloop, atop Laravel. Survloop is a Laravel-based engine for designing a database and creating a mobile-friendly user interface to fill it.
Table of Contents
Requirements
- php: >=7.4
- laravel/framework: 8.0.*
- rockhopsoft/survloop: 0.2.*
Getting Started
Install a copy of Survloop.org with Laradock
First, install Docker on Mac, Windows, or an online server. Then grab a copy of Laravel (last tested with v5.8.3)...
$ git clone https://github.com/laravel/laravel.git survlooporg
$ cd survlooporg
Next, install and boot up Laradock (last tested with v7.14).
$ git submodule add https://github.com/Laradock/laradock.git
$ cd laradock
$ cp env-example .env
$ docker-compose up -d nginx mysql phpmyadmin redis workspace
After Docker finishes booting up your containers, enter the mysql container with the root password, "root". This seems to fix things for the latest version of MYSQL.
$ docker-compose exec mysql bash
# mysql --user=root --password=root default
mysql> ALTER USER 'default'@'%' IDENTIFIED WITH mysql_native_password BY 'secret';
mysql> exit;
$ exit
At this point, you can optionally browse to http://localhost:8080 for PhpMyAdmin.
Server: mysql
Username: default
Password: secret
Finally, enter Laradock's workspace container and install Survloop.org.
$ docker-compose exec workspace bash
# cp .env.example .env
# nano .env
Edit these few lines in Laravel's environment file:
DB_HOST=mysql
DB_DATABASE=default
DB_USERNAME=default
And continue the install...
# composer install
# php artisan key:generate
# php artisan make:auth
# composer require rockhopsoft/survlooporg
# echo "0" | php artisan vendor:publish --force
# composer dump-autoload
# php artisan optimize
# sed -i 's/App\\User::class/App\\Models\\User::class/g' config/auth.php
# php artisan migrate
# php artisan optimize
# composer dump-autoload
# php artisan db:seed --class=SurvloopSeeder
# php artisan db:seed --class=SurvloopOrgSeeder
And if all has gone well, you'll be asked to create a master admin user account when you browse to http://localhost/. If it loads, but looks janky (without CSS), reload the page once... and hopefully it looks like a fresh install.
Install a copy of Survloop.org without Laradock
- Use Composer to install Laravel with default user authentication, one required package:
$ composer global require "laravel/installer"
$ composer create-project laravel/laravel survlooporg "8.0.*"
$ cd survlooporg
$ php artisan key:generate
$ php artisan make:auth
$ composer require rockhopsoft/survlooporg
$ sed -i 's/App\\User::class/App\\Models\\User::class/g' config/auth.php
- Update composer, publish the package migrations, etc...
$ echo "0" | php artisan vendor:publish --force
$ php artisan migrate
$ composer dump-autoload
$ php artisan db:seed --class=SurvloopSeeder
$ php artisan db:seed --class=SurvloopOrgSeeder
- For now, to apply database design changes to the same installation you are working in, depending on your server, you might also need something like this...
$ chown -R www-data:33 app/Models
$ chown -R www-data:33 database
- Load in the browser to create super admin account and get started.
Documentation
Once installed, documentation of this system's database design can be found at /dashboard/db/all . This system's user experience design for data entry can be found at /dashboard/tree/map?all=1&alt=1 .
More can be found at https://survloop.org/package-files-folders-classes.
Roadmap
Here's the TODO list for the next release (1.0). It's my first time building on Laravel, or GitHub. So sorry.
- Complete statistics on various Survloop installations
- Code commenting, learning and implementing more community standards.
Change Logs
Contribution Guidelines
Please help educate me on best practices for sharing code in this community. Please report any issue you find in the issues page.
rockhopsoft/survlooporg 适用场景与选型建议
rockhopsoft/survlooporg 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 35 次下载、GitHub Stars 达 1, 最近一次更新时间为 2020 年 03 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「Forms」 「survey」 「laravel」 「nodes」 「user experience」 「SurvLoop」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 rockhopsoft/survlooporg 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 rockhopsoft/survlooporg 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 rockhopsoft/survlooporg 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
ConfirmationField is a form field for Atk14 applications. It's like the BooleanField (checkbox) but the ConfirmationField must be ticked.
Field for number with restricted count of digits and decimal places
Laravel wrapper for surveyjs library
Package for create surveys in laravel
Optical Mark Recognition from PHP
HTML and form generation
统计信息
- 总下载量: 35
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2020-03-27