Download the PHP package kariricode/contract without Composer

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

KaririCode Framework: Contract Component

Docker Makefile PHP PHPUnit

Overview

The Contract component is a fundamental part of the KaririCode Framework, providing a comprehensive set of interfaces that define contracts for various data structures and behaviors. These interfaces serve as the foundation for implementing robust, consistent, and interoperable data structure components within and beyond the KaririCode ecosystem.

Key Features

Available Interfaces and Their Applications

Structural Interfaces

Collection

Defines the contract for a collection of elements. Ideal for implementing lists, sets, and other custom collections.

Suggested Applications:

Map

Defines the contract for map data structures, which store key-value pairs.

Suggested Applications:

Set

Defines the contract for set data structures, which do not allow duplicate elements.

Suggested Applications:

Queue

Defines the contract for queue data structures, which follow the FIFO (First-In-First-Out) principle.

Suggested Applications:

Stack

Defines the contract for stack data structures, which follow the LIFO (Last-In-First-Out) principle.

Suggested Applications:

Tree

Defines the contract for tree data structures.

Suggested Applications:

Heap

Defines the contract for heap data structures.

Suggested Applications:

Deque

Extends the Queue interface to define the contract for double-ended queue structures.

Suggested Applications:

Behavioral Interfaces

Countable, Indexable, Modifiable, Searchable

These interfaces define common behaviors that can be applied to various data structures.

Suggested Applications:

Sortable, Comparable

Define contracts for objects that can be sorted and compared.

Suggested Applications:

IterableCollection, Iterator

Provide the ability to iterate over a collection.

Suggested Applications:

Specialized Interfaces

BPlusTreeCollection

Defines the contract for B+ tree data structures.

Suggested Applications:

Serializable

Defines the contract for serializing and deserializing data.

Suggested Applications:

Installation

Requirements

Via Composer

Usage

To use these interfaces in your project, simply implement them in your classes. For example:

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support and Community

Acknowledgments


Built with ❤️ by the KaririCode team. Empowering developers to build more robust and flexible PHP applications.

Maintained by Walmir Silva - [email protected]


All versions of contract with dependencies

PHP Build Version
Package Version
Requires php Version ^8.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 kariricode/contract contains the following files

Loading the files please wait ....