Download the PHP package cubesystems/leaf without Composer

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

Packagist Scrutinizer Code Quality Build Status StyleCI Coverage Status

Installation

Create new Laravel project

Go to project root

Require Arbory package

Fill in database info

Run installer and follow instructions

That's it!

Usage

Registering new pages

Registering new admin modules

Working with nodes

The node repository is used to ensure that the website only displays active nodes to the user

Validation

Validation rules can be attached to any field, like so

Validating translations

Custom validators

Fields

Object Relation

Create a relation to another model

To limit the amount of relations the user can select a third argument can be passed. Relation fields limited to a single model will be rendered more compactly.

An optional depth parameter can be passed (automatically set for the node relation) which adds visual nesting to the field items

Items can be grouped by an attribute

Settings

Register a setting (with optional nesting) and retrieve it

Defining a field type

File settings

Translatable settings

Generate admin User

Contributing

To submit SCSS/Js changes you must rebuild dist directory containing compiled assets. Run npm run prod to do that.

Coding style

Use PSR-1/2

JS

We use airbnb coding style for both JS and SASS (links below).

To install the built-in inspections for PHPStorm, follow these instructions: https://www.themarketingtechnologist.co/how-to-get-airbnbs-javascript-code-style-working-in-webstorm/

Note!

When specifying JSCS package in the configuration window, it has to be installed locally (within the project). Global installation will not work (PHPStorm installs packages globally).

Customization

Rules can be modified either in separate files (.jscsrc or .jscs.json in project's root directory) or project's package.json file (jscsConfig section).

Links:


All versions of leaf with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2|^8.3
ext-json Version *
laravel/framework Version ^11.0
doctrine/dbal Version ^3.8
baum/baum Version 3.x-dev
astrotomic/laravel-translatable Version ^11.6
arbory/translation Version ^2
cartalyst/sentinel Version 8.x-dev
spatie/laravel-glide Version ^3.8
spatie/laravel-sluggable Version ^3.6
laragear/two-factor Version ^2.0
maatwebsite/excel Version ^3.1
unisharp/laravel-filemanager Version ^2.9
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 cubesystems/leaf contains the following files

Loading the files please wait ....