Download the PHP package megaads/apify-client-php without Composer

On this page you can find all versions of the php package megaads/apify-client-php. 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 apify-client-php

Apify Client for PHP

Installation

System requirements

Require the composer package

`composer require megaads/apify-client-php`

Create query builder

Add custom field

Add a custom parameter to request URL

Get request URL

The simplest method to see the generated request URL

Pagination

Parameter Required Default Description
page_id No 0 Page index, start at 0
page_size No 50 Number of rows to retrieve per page

Sorting

Sort ascending

Sort descending

Sort by multiple columns

Selection

Select columns from the records. SQL aggregate functions such as COUNT, MAX, MIN, SUM, AVG, SQL aliases are also available

Group By

Group the result-set by one or more columns and combine with aggregate functions using Selection

Filtering

Operator Condition For example
Client::SELECTION_EQUAL Equal to
Client::SELECTION_NOT_EQUAL Not equal
Client::SELECTION_GREATER Greater
Client::SELECTION_GREATER_EQUAL Greater or equal
Client::SELECTION_LESS Less
Client::SELECTION_LESS_EQUAL Less or equal
Client::SELECTION_IN In
Client::SELECTION_NOT_IN Not in
Client::SELECTION_BETWEEN Between
Client::SELECTION_NOT_BETWEEN Not between
Client::SELECTION_LIKE Like
Client::SELECTION_NOT_LIKE Not like

Relationships

Apify provides the ability to embed relational data into the results

For example

Filtering on relationships

Retrieve data

Find: Retrieve single record

Get: Retrieve all records that match the query

Response format

First: Retrieve the first record that matchs the query

Response format

Count: Retrieve the number of records that match the query

Response format

Increment/ Decrement: Provides convenient methods for incrementing or decrementing the value of a selected column

Response format

Send custom request

License

The Apify is open-sourced software licensed under the MIT license

Contact us/ Instant feedback

Email: [email protected]

Skype: phult.bk


All versions of apify-client-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
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 megaads/apify-client-php contains the following files

Loading the files please wait ....