Download the PHP package laramore/base without Composer

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

Laramore Base

Commun base for all Laramore projects. Contains Element, Lock, Own, Observer definitions

Installation

Via composer

In your PHP project, run composer require laramore/base.

Usage

This package is not meant to be used alone. It bundles different base classes, used in different Laramore packages.

Elements

Elements are a sort of enumeration. They are managed with no specific order and can have different defined values.

Element

An element has:

values contains at least the key and a value for "native".

An element is invokable. In this way, calling it, stringify it, returning a string value of "native".

After being locked, this instance cannot be changed (name and values).

ElementManager

Manage and regroup elements. This class can only manage one type of elements, defined by elementClass.

definitions are all possible values commune to all elements. "native" is for example commune to all elements.

Exceptions

Laramore use its own expections in order to allow the developer to detect the right exceptions.

LaramoreException

Base exception for all Laramore exceptions.

It stores the instance creating this exception.

LockException

This exception indicate the an exception occured during locking or that the instance is already locked if it needs to be unlocked to make a modification for example.

OwnException

This exception indicate the an exception occured during owning or that the instance is already owned if it needs to be unowned to define a new owner for example.

Interfaces

IsALaramoreProvider

Indicate that the provider generate and lock a Laramore manager, fetchable by the developer by Provider::getManager().

IsLockable

Indicate that the class is lockable with the lock method.

IsOwnable

Indicate that the class is ownable with the own method.

Observers

Observers allow the developer to proxy Laravel base classes to handle calls, events and more.

BaseHandler

A handler will group all order all observers for a specific class.

BaseManager

A manager will group all handlers for a specific observation.

BaseObserver

An observer will observe an action on a specific class, managed differently by the handler.

Traits

HasProperties

Add a property management, really usefull for Fields.

IsLocked

Add multiple methods for lock management.

IsOwned

Add multiple methods for own management.


All versions of base with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.8
laravel/framework Version >=5.5
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 laramore/base contains the following files

Loading the files please wait ....