PHPackages                             juy/providers - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. juy/providers

AbandonedArchivedLaravel-package

juy/providers
=============

Laravel package to load providers and aliases use a config file.

1.0.6(9y ago)131MITPHPPHP &gt;=5.5.9

Since Apr 4Pushed 6y ago1 watchersCompare

[ Source](https://github.com/juy/Providers)[ Packagist](https://packagist.org/packages/juy/providers)[ Docs](https://github.com/juy/Providers)[ RSS](/packages/juy-providers/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (7)Dependencies (1)Versions (9)Used By (0)

Providers Laravel Package
=========================

[](#providers-laravel-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d32a1851a8f5bc0d30a83d2d7dfef0112504c3deb050aa86f7030e526e6cffb8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a75792f70726f7669646572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/juy/providers) [![Software License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE.txt)

> Laravel package to load providers and aliases use a config file.

We usually use a providers file for load local providers, package providers, aliases, etc. to try keep clean `config/app.php` file. We have developed this idea and make a package for this.

---

### Supported Laravel versions

[](#supported-laravel-versions)

- Laravel **5.1** | **5.2** | **5.3**

### Requirements

[](#requirements)

- Laravel &gt;= 5.1 : Laravel 5.1 or above.
- PHP &gt;= 5.5.9 : PHP 5.5.9 or above on your machine.

Installation
------------

[](#installation)

### Step:1 Install through composer

[](#step1-install-through-composer)

#### Install

[](#install)

```
➜ composer require juy/providers:1.*

```

> #### Manual install (alternative)
>
> [](#manual-install-alternative)

> Simply add the following to the "require" section of your composer.json file, and run `composer update` command.

> ```
> "juy/providers": "1.*"
> ```

#### Remove

[](#remove)

```
➜ composer remove juy/providers

```

### Step 2: Add the service provider

[](#step-2-add-the-service-provider)

Append this line to your **service providers** array in `config/app.php`.

```
Juy\Providers\ServiceProvider::class,
```

### 3. Step 3: Publish config

[](#3-step-3-publish-config)

Publish config file.

```
➜ php artisan vendor:publish --provider="Juy\Providers\ServiceProvider" --tag="config"

```

Usage
-----

[](#usage)

You can add providers to `config/providers.php` file.

### A config sample

[](#a-config-sample)

```
