All Projects → dptole → laravel-survey

dptole / laravel-survey

Licence: MIT license
Laravel 6 survey app.

Programming Languages

PHP
23972 projects - #3 most used programming language
Blade
752 projects
shell
77523 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to laravel-survey

Phpqa
Docker image that provides static analysis tools for PHP
Stars: ✭ 853 (+2087.18%)
Mutual labels:  composer, phpunit
mylib
Шаблон кросплатформенного CMake-проекта для языка C++ 🇬🇧 Modern CMake crossplatform project template for C++
Stars: ✭ 49 (+25.64%)
Mutual labels:  coverage, doxygen
Designpattern
设计模式
Stars: ✭ 66 (+69.23%)
Mutual labels:  composer, phpunit
php-finder refactoring-kata
🐘🔍Incomprehensible Finder Refactoring Kata port for PHP
Stars: ✭ 22 (-43.59%)
Mutual labels:  composer, phpunit
Cmake Scripts
A selection of useful scripts for use in CMake projects, include code coverage, sanitizers, and dependency graph generation.
Stars: ✭ 202 (+417.95%)
Mutual labels:  coverage, doxygen
assert-true
A lot of ways to you set your assert as true
Stars: ✭ 19 (-51.28%)
Mutual labels:  composer, phpunit
CPP Template
C++ project template : CMake, Test, Travis CI, Appveyor, CodeCoverage, Doxygen
Stars: ✭ 32 (-17.95%)
Mutual labels:  coverage, doxygen
php-mime-detector
Detect a file's mime type using magic numbers.
Stars: ✭ 20 (-48.72%)
Mutual labels:  composer, phpunit
Coveragechecker
Allows old code to use new standards
Stars: ✭ 159 (+307.69%)
Mutual labels:  coverage, phpunit
phpunit-travis-ci-coverage-example
phpUnit Testing on Travis-CI with Code Coverage on CodeCov
Stars: ✭ 30 (-23.08%)
Mutual labels:  coverage, phpunit
php8-xdebug
PHP 8.0 for development and production usage. With nginx, brotli, xdebug, JIT and more...
Stars: ✭ 17 (-56.41%)
Mutual labels:  composer, brotli
covers-validator
Validates covers tags in PHPUnit tests
Stars: ✭ 21 (-46.15%)
Mutual labels:  coverage, phpunit
Pdt
PHP Development Tools project (PDT)
Stars: ✭ 135 (+246.15%)
Mutual labels:  composer, phpunit
coverxygen
Generate doxygen's documentation coverage report
Stars: ✭ 30 (-23.08%)
Mutual labels:  coverage, doxygen
restio
HTTP Client for Dart inspired by OkHttp
Stars: ✭ 46 (+17.95%)
Mutual labels:  brotli, sse
generator-composer
🐘 Yeoman (http://yeoman.io) generator for a PHP Composer project
Stars: ✭ 16 (-58.97%)
Mutual labels:  composer, phpunit
evileg-core
EVILEG Social Network Framework - Core (ESNF-C)
Stars: ✭ 17 (-56.41%)
Mutual labels:  recaptcha
weapp wechat miniapp sdk
一个封装了微信小程序服务端接口的SDK
Stars: ✭ 102 (+161.54%)
Mutual labels:  composer
composer-localdev-plugin
Composer Plugin for local development
Stars: ✭ 31 (-20.51%)
Mutual labels:  composer
gh-auto-updater
Automatic Updater with GitHub API for WordPress Plugin
Stars: ✭ 42 (+7.69%)
Mutual labels:  composer

Laravel 6 survey

Build status Coverage Status StyleCI status Docs Made in

Custom survey app in Laravel 6.

Pre-requisites

  • Linux
  • Node.js v7+
  • MySQL v5.5+ (or MariaDB)
  • PHP v7.2+

Or you could install it via docker.

Building

Inside the repo's folder.

Install Node.js dependencies, it will take some time.

$ npm i

Download composer.

$ php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
$ php composer-setup.php

If you want to speed up composer then download prestissimo. Hopefully this is just a temporary solution.

$ php composer.phar global require hirak/prestissimo

Install composer's dependencies.

$ php composer.phar install

Copy and edit your own .env file out of .env.example, it is essential.

$ cp .env.example .env

Generate the new APP_KEY value on the .env file.

$ php artisan key:generate

You'll have to configure MySQL yourself, it's not that hard.

Log into your MySQL as root.

Say your .env file has the following confs

  DB_USERNAME=laravel_survey_user
  DB_HOST=127.0.0.1
  DB_PASSWORD=laravel_survey_pass
  DB_DATABASE=laravel_survey_database

Create the user DB_USERNAME at DB_HOST identified by DB_PASSWORD.
> CREATE USER [email protected] IDENTIFIED BY 'laravel_survey_pass';

Create the database DB_DATABASE.
> CREATE DATABASE laravel_survey_database;

Grant DB_USERNAME all privileges to DB_DATABASE.
> GRANT ALL ON laravel_survey_database.* TO [email protected];

Execute laravel's migrations.

$ php artisan migrate

Run webpack's tasks to generate JavaScript and CSS assets.

$ npm run dev
OR
$ npm run production # to generate minified files

Start up the server.

$ php artisan serve

You will have to access http://localhost:8000/laravel/.

Optional 3rd party integrations

I recommend you just updating the .env file variables PUSHER_ENABLED=true and GOOGLE_RECAPTCHA_ENABLED=true and starting up the server. The first page will tell you about missing configurations in these optional 3rd party integrations. A form will be created for input and validation of the credentials. If some error occur you'll be notified. In case all credentials are correct the .env file will be updated and you'll be able to proceed normally.

Pusher

Create your app at pusher's dashboard. Edit the .env file with your credentials

PUSHER_ENABLED=true
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=

Google Recaptcha

Go to Google Recaptcha's admin page and register a new site. Edit the .env file with your keys

GOOGLE_RECAPTCHA_ENABLED=true
GOOGLE_RECAPTCHA_SITE_SECRET=
GOOGLE_RECAPTCHA_SITE_KEY=

Community

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].