quasar/core

There is no license information available for the latest version (v1.0.20) of this package.

Quasar Core package

v1.0.20 2020-04-27 15:51 UTC

README

Total Downloads Latest Stable Version

Quasar is a application that generates a control panel where you can create custom solutions.

Installation

1 -To avoid conflicts we will eliminate the default migrations of laravel, from root directory

rm -rf database/migrations/*

2 - After install Laravel framework, execute on console:

composer require quasar/core

3 - Execute publish command

php artisan vendor:publish --provider="Quasar\Core\CoreServiceProvider"

4 - create link to storage folder

php artisan storage:link

Tips

1 - Don't forget config environment variables database

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=

1 - Don't forget to register CORS in your server, the following example is for apache server

Header add Access-Control-Allow-Origin "*"
Header add Access-Control-Allow-Headers "authorization, origin, x-requested-with, content-type"
Header add Access-Control-Expose-Headers "authorization"
Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"

2 - You may need to extend both the PHP memory on your server as well as the upload limit

php_value post_max_size 1000M
php_value upload_max_filesize 1000M
php_value memory_limit 256M

3 - Testing To run laravel testing

./vendor/bin/phpunit vendor/quasar/core