Download the PHP package vanilla/laravel without Composer

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

vanilla/laravel

A set of common laravel utilities and configurations used in Vanilla laravel services.

Installation

Require this package with composer using the following command:

This package makes use of Laravels package auto-discovery mechanism so it should automatically be applied.

Additional Logging Context

This is automatically configured if the package is installed through composer.

Every made during a web request will have the following additional data applied.

Improved JSON Log Formatter

To apply this, update your desired log channel in config/logging.php file to use the new log formatter.

config/logging.php

The improved log formatter provides the following behaviours:

Improved Exception Handling

To apply this have your exception handler in Exceptions\Handler.php extend from Vanilla\Laravel\Exceptions\ExceptionHandler instead of Illuminate\Foundation\Exceptions\Handler.

It has the following improved behaviours

Context Exceptions

Oftentimes when you throw an exception you might have some useful structured data that you want captured for logging or an HTTP response.

For these case throw or extend Vanilla\Laravel\Exceptions\ContextException. It adds an optional array of context.

Want to add additional context to a caught ContextException? Use ContextException::withContext($newContext).

Configuration Validation

This package registers a new command artisan config:validate that will automatically run before config:cache. It will look through your configuration files for validation specification under a ValidateConfigCommand::KEY key and validate the rest of that configuration file according to those rules.

Example

orch.php


All versions of laravel with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version ^10.0
php Version >=8.0
vanilla/garden-utils Version ^1.1
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 vanilla/laravel contains the following files

Loading the files please wait ....