Download the PHP package percymamedy/laravel-dev-booter without Composer

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

Laravel dev booter

Latest Stable Version Latest Unstable Version License Total Downloads

Introduction

During development of a Laravel App; some Service Providers are very helpful. These services helps us with debugging and coding. But registering these providers on production is usually not a good idea. They can slow down our App or even expose sensitive information.

Laravel Dev Booter helps end this problem. The package consists of a single . This provider will exclude unwanted providers from your production environment.

License

Laravel Dev Booter is open-sourced software licensed under the MIT license

Version Compatibility

Laravel DevBooter
5.x 0.2.x
6.x 1.0.x
7.x 2.0.x
8.x 3.0.x
9.x 3.0.x
10.x 4.0.x
11.x 5.0.x

Installation

Install Laravel Dev Booter as you would with any other dependency managed by Composer:

Configuration

If you are using Laravel >= 5.5, you can skip service registration and aliases registration thanks to Laravel auto package discovery feature.

After installing Laravel Dev Booter all you need is to register the
in your config/app.php configuration file:

Usage

First use the command to copy the configuration file to your application:

This will create the file .

Defining your development environments

In the file you will find the section. Use this section to define your app's development environments:

These are the only environments where Dev Booter will act; and try to register any Service providers.

Development Service providers locations

The next section in the file is the . The array contains an entry for each of your development environments specified above. Feel free to add and edit this section.

The value for each of these entries can be an array or a string. The values represents the locations of a Service Provider array for each enviroment. You can even specify many locations for an environment, Dev Booter will take care of loading providers in each of these locations.

You may now define these Service Providers array in the file as you would for any regular Service Provider:

Development Aliases locations

The last section of the file is the . As with Service Providers, it works on the same principle.

You first specify the location of your aliases per environment:

Then define these aliases array in the file:

Going Further

In the above examples, providers and aliases array were define in , but this does not have to be the case. You can define these array in any config files provided by Laravel or even create your own. Simply make sure you adjust your and .

For example:

Then in

Credits

Big Thanks to all developers who worked hard to create something amazing!

Creator

Percy Mamedy

Twitter: @PercyMamedy
GitHub: percymamedy


All versions of laravel-dev-booter with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.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 percymamedy/laravel-dev-booter contains the following files

Loading the files please wait ....