Download the PHP package sankalpsri/candy-api without Composer
On this page you can find all versions of the php package sankalpsri/candy-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sankalpsri/candy-api
More information about sankalpsri/candy-api
Files in sankalpsri/candy-api
Package candy-api
Short Description API driven E-commerce solution, written in Laravel
License MIT
Informations about the package candy-api
Please Note
Whilst every effort has been made to make this software ready for a release, it is provided as is, this is very much still in early alpha stages and you use it at your own risk.This is not production ready software
GetCandy E-Commerce API
A laravel way to build an API driven store online.
Requirements
- Laravel >= 5.5
- Elasticsearch >= 6
Server setup
We think the easiest way to get up and running is to use Valet+ with Elasticsearch. But really, it's up to you :)
Installing via composer
You can either install just the API or the API and Hub.
Just the API
This will contain everything you need to manage your store through the API endpoints.
API and Hub (recommended)
This will install the API and the Hub, so you have a nice interface to manage your store.
Laravel 5.6
GetCandy supports package auto discovery
Laravel 5.5
Add the three required service providers to your config/app.php
file
Publish the config / resources
The API needs to publish some config items and the hub needs to publish some resources (if you're using it)
Set up your users
GetCandy doesn't have it's own User model, we figured you'd want your own, so we just use a trait:
The API uses passport for authentication, so make sure your config/auth.php
config uses this:
This will probably be refactored into it's own gate going forward, hangover from non package days...
Get things up and running
The API needs some bare minimum data to get going, for now we've just made a console command to get going:
Follow the installation steps and you'll be able to log in and start adding products!
All versions of candy-api with dependencies
alaouy/youtube Version ^2.2
barryvdh/laravel-cors Version ^0.11
barryvdh/laravel-dompdf Version ^0.8.3
spatie/laravel-activitylog Version 3.2.*
braintree/braintree_php Version 3.*
hashids/hashids Version ^3.0
intervention/image Version ^2.4.2
kalnoy/nestedset Version ^4.3
laravel/framework Version 5.8.*
laravel/passport Version ^8.0
laravel/tinker Version ^1.0
league/fractal Version ^0.17.0
ruflin/elastica Version 6.1.*
spatie/laravel-permission Version 2.29.*
vinkla/hashids Version ^5.1.0
vimeo/laravel Version 5.2.*
doctrine/dbal Version 2.9.2
paypal/rest-api-sdk-php Version *
maatwebsite/excel Version 2.1.*