Download the PHP package spicyweb/craft-odds-and-ends without Composer

On this page you can find all versions of the php package spicyweb/craft-odds-and-ends. 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 craft-odds-and-ends

Odds & Ends

A collection of useful tools for Craft CMS websites.

Field types

Width

This lets you define the width of a block as well as left and right padding. This field simply outputs three sets of classes which can be defined when setting the field up.

Author Instructions

This lets you output markdown instead of a field, which is useful when you have a Matrix block that doesn’t have any fields.

Categories (multiple groups)

A Categories input that lets you select multiple Category groups.

Ancestors

An Entries input that only shows the ancestors of the current Entry.

Search Fields

Like the Tags input, but for entries and categories (without the auto-creation feature). If Craft Commerce is installed, search fields for products and variants are also available.

Disabled Fields

The same as regular fields, but disabled. Useful for situations where you want to integrate with a third party API and store that information in a field but don’t want the user to change it.

The following field types are currently supported:

Widgets

Roll Your Own

A simple widget that lets you assign a template to load from your site templates folder. Go nuts.

Miscellaneous

Download File

A controller action that will download an asset file.

The id parameter is required and must be a valid asset ID.

Usage:

Configuration

By default, all normal field types and widgets are enabled. The commerce field types are only enabled if Craft Commerce is installed and enabled. You can disable each field type and widget by adding the following to your project's config/tools.php file:

Multi environment config is supported. See Craft's docs for more info. See config/tools.php in this repo for an example on how to disable any field and widget.


Created by Supercool
Maintained by Spicy Web


All versions of craft-odds-and-ends with dependencies

PHP Build Version
Package Version
Requires craftcms/cms Version ^5.0.0
php Version ^8.2
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 spicyweb/craft-odds-and-ends contains the following files

Loading the files please wait ....