Download the PHP package dcarbone/camel without Composer

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

camel

A library designed to help facilitate SharePoint CAML query construction

Build Status

Install

Initialization

To begin, simply create a new Camel.

Humps

Once you have created your Camel, you start adding humps!

There are 3 types of humps:

You may add them to your Camel in one of two ways:

The same applies for all humps, and both are perfectly acceptable ways of going about it.

Nodes

There are 3 primary types of nodes:

Here is a quick breakdown of each:

ComparisonOperator

These will probably be the most commonly used nodes in your Camel. I believe I have implemented every possible Comparison Operator supported by the SharePoint CAML query system. If I missed one, let me know!

LogicalJoin

There are only two of these:

To keep things DRY, I have most of the logic necessary for these nodes in their base class:

ValueNode

These nodes are typically only used inside of the aforementioned ComparisonOperator nodes, and allow you to compare an input value to a column / etc. in your list.

Each ComparisonOperator has a distinct list of allowable ValueNodes, so check their class definition to see what they are.

Simple Example

Lets say you have a SharePoint list that looks somewhat like this:

Title Age Gender Profession
Daniel 28 Male Software Developer
Elizabeth 25 Female Project Manager
David 59 Male Oncologist
Beatrice 22 Female Med Student
Anna 20 Female Retail

And you want to get all the females back. You could do something like this:

The above would produce the following:

You can also do logical joins.

The above will produce:

You may also nest to your heart's content.

Which produces:

Conclusion and Future Development

At the moment, this library serves my needs. If you find this library useful and would like to see something added or changed, please let me know!


All versions of camel with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
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 dcarbone/camel contains the following files

Loading the files please wait ....