Download the PHP package designcoda/adpanel-connector-laravel without Composer

On this page you can find all versions of the php package designcoda/adpanel-connector-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package adpanel-connector-laravel

Adpanel Connector for Laravel

Requirements

Description

This plugin send data of your Laravel project to Adpanel via REST API. You can adjust sending data.

Installation

Composer

Laravel

  1. Run publishing command to copy config file to config folder.

  2. Generate auth token with command

and copy variable from console to .env file

  1. Edit config/adpanel_connector.php for your needs.

  2. Run for clear caching

  3. Visit in browser yoursite.url/adpanel_connector to see response. If you add token yoursite.url/adpanel_connector?token=token_from_env, you will see authorized response with data.

Laravel

  1. Запустите команду публикации файла с настройками в папку config

  2. Сгенерируйте токен для авторизации командой

и скопируйте результат в файл .env.

  1. Отредактируйте файл config/adpanel_connector.php под ваши нужды.

  2. Очистите кэш командами

  3. Откройте в браузере yoursite.url/adpanel_connector чтобы увидеть отклик. Если добавить токен yoursite.url/adpanel_connector?token=token_from_env, можно увидеть авторизованный отклик с данными.

Query parameters

To receive data only valid auth token is required. But you can pass additional parameters such as ordering
from - created_at column starting from Y-m-d inclusive. Must be valid date
to - created_at column until Y-m-d inclusive. Must be valid date
order_by - ordering column. Ignoring if column not exists. Must be string
desc - is used only with order_by. Must be boolean
filters - fields for filtering query. Must be array (e.g. filters['like']['utm']['utm_source']['campaign1', 'campaign2']) for field utm_source or utm->utm_source (JSON) like 'campaign1' or 'campaign2'
filters['equal']['utm']['utm_source']['campaign1', 'campaign2']) for field utm_source or utm->utm_source (JSON) 'campaign1' or 'campaign2' )

Параметры запросов

Чтобы получить данные достаточно только валидного токена. Но также можно передавать дополнительные параметры для запроса, например, сортировку
from - столбец created_at, начиная с указанной даты Y-m-d включительно. Должен быть валидной датой
to - столбец created_at, до указанной даты Y-m-d включительно. Должен быть валидной датой
order_by - столбец сортировки. Если столбец не существует, параметр игнорируется. Должен быть строкой
desc - используется только в связке с order_by. Должен быть булевым
filters - поля для фильтрации запроса. Должны быть массивом (например, filters['utm']['utm_source']) для поля utm_source или utm->utm_source (JSON))

Response examples

Примеры ответов

LICENSE

GNU GPLv3
Copyright Alexanyasha


All versions of adpanel-connector-laravel with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package designcoda/adpanel-connector-laravel contains the following files

Loading the files please wait ....