Download the PHP package weareunite/unisys-api without Composer
On this page you can find all versions of the php package weareunite/unisys-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download weareunite/unisys-api
More information about weareunite/unisys-api
Files in weareunite/unisys-api
Package unisys-api
Short Description Unisys basic API skeleton.
License MIT
Homepage https://github.com/weareunite/unisys-api
Informations about the package unisys-api
unisys-api
Unisys basic API skeleton developed by Unite.
Requirements
Unisys API skeleton requires:
- PHP 7.1+
- Database that supports
json
fields such as MySQL 5.7 or higher.
It uses Laravel 5.6, so it has to meet also all its requirements https://laravel.com/docs/5.6/installation#server-requirements.
Installation
New UniSys project
For clean API skeleton based on Laravel 5.6, you can use weareunite/unisys-installer that do all the boring work for you. Let's install it globally:
Now you can create a new Unisys skeleton:
This is going to install all dependencies, publish all important vendor configs, migrate, setup some configs and run migrations.
Command is going to generate and print the password for the default administrator account. Do not forget to remember this password
Add Unisys to existing project
Or alternatively, you can use your existing Laravel 5.6 application. Start with requiring these two main packages:
To install this package use:
and after:
This is going to install all dependencies, publish all important vendor configs, migrate, setup some configs, webpack config and run migrations.
Command is going to generate and print the password for the default administrator account. Save this password to your clipboard, we are going to need it soon.
Requirements
Add your DSN to .env
:
Optimization tools
Medialibrary will use these tools to optimize converted images if they are present on your system:
Here's how to install all the optimizers on Ubuntu:
And here's how to install the binaries on MacOS (using Homebrew):
To create derived images GD should be installed on your server. For the creation of thumbnails of svg's or pdf's you should also install Imagick.
Wkhtmltopdf Installation
Choose one of the following options to install wkhtmltopdf/wkhtmltoimage.
- Download wkhtmltopdf from here;
- Or install as a composer dependency. See wkhtmltopdf binary as composer dependencies for more information.
Testing
- Copy
.env.example
to.env
and fill in your database credentials. - Run
vendor/bin/phpunit
.
License
The MIT License (MIT). Please see License File for more information.
All versions of unisys-api with dependencies
aws/aws-sdk-php Version ~3.0
barryvdh/laravel-snappy Version ^0.4.7
illuminate/contracts Version ^7.0
illuminate/support Version ^7.0
laravel/passport Version ^8.0
league/flysystem-aws-s3-v3 Version ^1.0
mll-lab/laravel-graphql-playground Version ^2.1
maatwebsite/excel Version ^3.1
myclabs/php-enum Version ^1.7
lorisleiva/laravel-deployer Version ^0.3
predis/predis Version ^1.1
rebing/graphql-laravel Version ^5.0
sentry/sentry-laravel Version ^1.8
spatie/data-transfer-object Version ^1.13
spatie/eloquent-sortable Version ^3.8
spatie/laravel-activitylog Version ^3.11
spatie/laravel-backup Version ^6.8
spatie/laravel-medialibrary Version ^8.0.0
spatie/laravel-model-status Version ^1.10
spatie/laravel-permission Version ^3.11
webpatser/laravel-countries Version ^1.5.4