Download the PHP package bahjaat/daisycon without Composer
On this page you can find all versions of the php package bahjaat/daisycon. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bahjaat/daisycon
More information about bahjaat/daisycon
Files in bahjaat/daisycon
Package daisycon
Short Description Laravel package to import data via Daisycon Rest API (affiliates)
License
Informations about the package daisycon
Daisycon
Laravel package to import data via Daisycon Rest API (affiliates)
Installation
First install the package via Composer:
composer require "bahjaat/daisycon":"^2.0"
Or manually include it into your composer.json file
and run composer update
after that.
Setup
Skip this step when using Laravel 5.5 or above.
Edit your config/app.php
file, to include the service provider:
Bahjaat\Daisycon\DaisyconServiceProvider::class
Publishing config files
Migrate the database
php artisan migrate
Configuration
After setting up you have to configure your Daisycon settings at app/config/daisycon.php
Really important attribute are:
- username
- password
- media_id
- publisher_id
When using >= v2.0.6 you can also set your file with the following variables:
Seeding database
For your convenience there are some database seed classes provided with the package.
- The first one is adding some country(codes) into the databse.
- The second one is adding some active programs.
Just run these commands:
php artisan db:seed --class=CountrycodesTableSeeder
php artisan db:seed --class=ActiveProgramTableSeeder
Artisan
After all, you can import your programs, feeds and subscriptions into you own database. Go hit the road!
Todo
- Writing tests
Last words
Need some adjustments? Please create a pull-request and we will make this package a better one together.
LICENSE
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details or LICENSE.txt distributed with this class.
All versions of daisycon with dependencies
guzzlehttp/guzzle Version ~6.0
cviebrock/eloquent-sluggable Version ^4.2
prewk/xml-string-streamer Version ^0.9
prewk/xml-string-streamer-guzzle Version ^0.2
openlss/lib-array2xml Version ^0.5.1
umpirsky/country-list Version ^2.0
jenssegers/date Version ^3.2
league/csv Version ^8.0