Download the PHP package arbory/arbory without Composer
On this page you can find all versions of the php package arbory/arbory. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download arbory/arbory
More information about arbory/arbory
Files in arbory/arbory
Informations about the package arbory
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
- arbory_require_one_localized - at least one translation exists for this field
- arbory_file_required - file has been uploaded or is being passed in request
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:
- JS - https://github.com/airbnb/javascript
- CSS / SASS - https://github.com/airbnb/css
All versions of arbory with dependencies
ext-json Version *
laravel/framework Version ^10.0
laravelcollective/html Version ^6.0
doctrine/dbal Version ^3.6
baum/baum Version 3.x-dev
goldspecdigital/laravel-eloquent-uuid Version ^10
astrotomic/laravel-translatable Version ^11.6
arbory/translation Version ^2.7
cartalyst/sentinel Version ^7.0
spatie/laravel-glide Version ^3.7
spatie/laravel-sluggable Version ^3.4
laragear/two-factor Version ^1.2
maatwebsite/excel Version ^3.1
unisharp/laravel-filemanager Version ^2.6