Download the PHP package joem/saturn without Composer

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

Logo

An object-mapped post type builder & interface for WordPress.

Saturn is a fluent interface used to effortlessly create and manipulate post types and their contents in WordPress.

How Effortlessly? Take a look:

Saturn is designed to almost act as a model, or resource to represent a post type, this means you can create, delete and change post types through an instance of Saturn, and it's easy peasy.

Not only that, Saturn provides a query engine to interact with post objects (or pages) directly within the instance. The query builder wraps get_posts, which means everything in get_posts is possible from a saturn instance - with a beautifully simple interface.

Create an instance

Creating an instance of Saturn is simple:

Saturn requires an array of parameters, which are used to construct the post type and create the instance:

Parameters

Instance methods

Methods which are available in an instance of Saturn are detailed below.

instance

Usage

$saturn->instance();

Return

Type: Object WP_Post_Type

An instance of a post type. We do not recommend altering its contents - instead, use Saturn methods. Helpful to quickly access the object.

query

Usage

$saturn->query();

Return

Type: Object Saturn

Used to clear any lingering parameters in the query engine from previous queries. It is important to use this method before setting up queries to prevent any strange or unexpected results.

limit

Parameters

Usage

$saturn->limit( 15 );

Return

Type: Object Saturn

Sets the number of objects to return from a query. The query engine will return the FIRST n matches if specified.

meta

Parameters

Usage

Single meta query:

Multiple meta queries:

Multiple meta queries with config:

Return

Type: Object Saturn

Sets the meta_query for the query.

tax

Add a tax_query to the query. Parameters

Usage


All versions of saturn with dependencies

PHP Build Version
Package Version
No informations.
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 joem/saturn contains the following files

Loading the files please wait ....