Download the PHP package willishq/laravel-components without Composer

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

Laravel components

Build Status

These are components which I use frequently when creating and maintaining a Laravel project, and two traits which I keep copying from project to project.

Installation

Grab this package through Composer:

Traits

The two traits provided are the EventableTrait and the RetrievableTrait.

EventableTrait Usage

The EventableTrait is used in tandem with laracasts\commander package and enables you to raise and dispatch events directly on your objects (such as Eloquent models), along with firing events when the object is destroyed.

MyModel.php

if you left the model like this, the event would be fired automatically by the __destruct method, or you can call $model->dispatchEvents(); which would dispatch all remaining events.

RetrievableTrait Usage

The RetrievableTrait enables you to retrieve specific public keys from your objects. It provides you with two methods, retrieveOnly and retrieveExcept

I have found this useful when dealing with DTO's.

Packages

Please be sure to add the following to your config/app.php file to use the packages!

Service Providers:

Facades:

Other packages included are: laracasts/presenter and league/fractal.

Documentation for all of the packages included can be found here:

For development and testing, I suggest you use codeception/codeception, laracasts/testdummy and fzaninotto/faker


All versions of laravel-components with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
illuminate/support Version 5.0.*
laracasts/commander Version ~1.0
laracasts/presenter Version ~0.2.0
laracasts/flash Version ~1.0
barryvdh/laravel-debugbar Version 1.*
league/fractal Version 0.8.*
illuminate/html Version ~5.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 willishq/laravel-components contains the following files

Loading the files please wait ....