Download the PHP package aurorawebsoftware/connective without Composer

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

Laravel Connective Package Documentation

Introduction

The Laravel Connective package provides a simple and intuitive way to establish connections between Eloquent models. It allows you to define different connection types and manage relationships between models.

Key Concepts

1. Connection Types

2. Models

3. Connections

Installation

To get started with the Laravel Connective package, follow these installation steps:

  1. Install the package using Composer:

  2. Publish the package configuration file:

  3. Update the connection types in the configuration file according to your needs.

Usage

Creating a Connective Model

To work with the Laravel Connective package, ensure that your models are set up correctly. Below are examples of how to create the necessary Eloquent models for the package:

Ensure that your models extend the appropriate Eloquent classes and implement the ConnectiveContract where necessary. Customize the models according to your application's requirements and business logic.

Here is the sample models

Establishing Connections between Models

To establish a connection between two models, you can use the connectTo method:

connect user1 to user2 with friendship (make friend1 and firend2 be friend)

Connections are unidirectional; it is necessary to establish connections from each model if required.

Models can support multiple connection types and can accommodate multiple connections for the same model type.

Retrieving Connections

You can retrieve connections for a model using the connections method. You can filter by connection type and target model type:

Retrieving Connected Models

To retrieve connected models (connective models) for a source model, you can use the connectives method. You can filter by connection type and target model type:

Retrieve friends of the user

// Retrieve residences and offices of the user

Nested Connections

The package allows you to establish nested connections. For example, if Model A is connected to Model B, and Model B is connected to Model C, you can retrieve Model C from Model A through the connectives method.

unlimited nesting

Conclusion

The Laravel Connective package simplifies managing relationships between Eloquent models by providing a straightforward and customizable solution. Explore the package's capabilities and tailor them to your project's needs.


This is a basic structure for your Laravel Connective package documentation. Be sure to expand and customize it further based on your package's specific features and requirements. Make sure to replace placeholder URLs and descriptions with actual content related to your package.


All versions of connective with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2|^8.3
spatie/laravel-package-tools Version ^1.14.0
laravel/framework Version ^11.0
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 aurorawebsoftware/connective contains the following files

Loading the files please wait ....