Download the PHP package diviky/bright without Composer

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

An extension to laravel for quick develpment

Install

Setup

Filter the query with input values

Database Filter

filter method used to filter the database columns in query builder. it accepts requets object as array.

Avaliable filters

filter[] uses the $builder->where($column, $value). uses array key as column name and value as value. ex: filter[column]='value'

lfilter[] uses the $builder->where($column, '%'.$value.'%') with like match. uses array key as column name and value as value. ex: lfilter[column]='value'

use the | notation to filter or condition. ex: filter[comments|title]=xxx use the : notation to filter with relation table. ex: filter[posts:title]=xxx use the . notation to filter the table alias in join query. ex: filter[comments.title]=xxx use the scope[] to filter the model scopes. ex: scope[status]=1 will run $builder->status(1) use parse[] to DSL Parser for a filter query langague. Example queries in this language:

Model Relations

Return single model with merged attributes from relations

flattern

The flattern($except, $exlcude) method merge the key and values of releations into primary model attributes and return the combines attributes. Releation keys will overwrite the primary keys if they are same.

flat

The flat($except, $exlcude) method merge the key and values of releations into primary model attributes and return the combines attributes.

some

The some($keys) method get few keys from the relationships and primary model.

except

The except($keys) method get few keys from the relationships and primary model.

merge

The merge($keys) method add additional key value pairs to model attributes.

concat

The concat($keys) method add relations key values to attributes.

combine

The combine($keys) method to merge and contact the releations and attributes.

Eloquent: Collections

flatterns

The flatterns($except, $exlcude) method merge the key and values of releations into primary model attributes and return the combines attributes. Releation keys will overwrite the primary keys if they are same.

flats

The flats($except, $exlcude) method merge the key and values of releations into primary model attributes and return the combines attributes.

few

The few($keys) method get few keys from the relationships and primary model.

Flatten Relations

Return single model with merged attributes from relations

Sorting task

Builder Extended Methods

Search multiple columns and relations

Iterating results

If you like fetch all the rows with chunks and modify using callaback

Get results from multiple tables

If you have data in multiple tables, want to retrive table after table with pagination

Cache the query results

If you want to cache the results

Delete from select query
Get Trashed && Non Trashed

Get non deleted items

Get only deleted items

Raw Expressions
Ordering
Timestamps

Set the timestamps 'created_atandupdated_atfor insert andupdated_at` for update

License

The MIT License (MIT). Please see License File for more information.


All versions of bright with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2
guzzlehttp/guzzle Version ^7.2
kirschbaum-development/eloquent-power-joins Version ^3.5
laravel/framework Version ^10.2
laravel/sanctum Version ^3.0
laravel/ui Version ^4.2
league/flysystem-aws-s3-v3 Version ^3.10
matomo/decompress Version ^2.1
schuppo/password-strength Version ^2.6
spatie/laravel-permission Version ^5.5
spatie/laravel-schemaless-attributes Version ^2.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 diviky/bright contains the following files

Loading the files please wait ....