Skip to content

Commit

Permalink
Merge pull request #5 from eaguad1337/laravel/auto-discovery
Browse files Browse the repository at this point in the history
Support Auto-Discovery
  • Loading branch information
gdespirito authored Oct 11, 2017
2 parents 241f557 + 7c1a90e commit 468468d
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 20 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ If you're not using Laravel, you are done.

### Step 2: Laravel Service Provider

If you're using **Laravel 5.5** this package supports Auto-Discovery. So you can skip this step.

**For Laravel 5.4 or below**

Append this line to your `providers` array in your `config/app.php` file:

```php
Expand Down
59 changes: 39 additions & 20 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,43 @@
{
"name": "freshwork/chilean-bundle",
"description": "A PHP composer package with Chilean validations, common variables, etc. (RUT, IVA, ETC). Ready for Laravel 4. Grande chile ctm :)",
"authors": [
{
"name": "Gonzalo De Spirito | Freshwork Studio Chile",
"email": "[email protected]"
}
],
"keywords":["chile", "rut", "freshwork", "validation", "tools", "laravel"],
"license":"MIT",
"require": {
"php": ">=5.4.0"
},
"require-dev": {
"codeception/codeception": "^2.1",
"codeception/specify": "^0.4.3"
"name": "freshwork/chilean-bundle",
"description": "A PHP composer package with Chilean validations, common variables, etc. (RUT, IVA, ETC). Ready for Laravel 4. Grande chile ctm :)",
"authors": [
{
"name": "Gonzalo De Spirito | Freshwork Studio Chile",
"email": "[email protected]"
},
"autoload": {
"psr-4": {
"Freshwork\\ChileanBundle\\": "src/"
}
{
"name": "Eduardo Aguad",
"email": "[email protected]"
}
],
"keywords": [
"chile",
"rut",
"freshwork",
"validation",
"tools",
"laravel"
],
"license": "MIT",
"require": {
"php": ">=5.4.0"
},
"require-dev": {
"codeception/codeception": "^2.1",
"codeception/specify": "^0.4.3"
},
"autoload": {
"psr-4": {
"Freshwork\\ChileanBundle\\": "src/"
}
},
"laravel": {
"providers": [
"Freshwork\\ChileanBundle\\Laravel\\ChileanBundleServiceProvider"
],
"aliases": {
"Rut": "Freshwork\\ChileanBundle\\Facades\\Rut"
}
}
}

0 comments on commit 468468d

Please sign in to comment.