Skip to content

Commit

Permalink
add support for Laravel 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
forxer committed Oct 1, 2017
1 parent 65afb08 commit 7c5457f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 22 deletions.
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog for Laravel Extension
===============================

5.2.0 (2017-10-01)
------------------

- add support for Laravel 5.5

5.1.1 (2017-06-02)
------------------

Expand Down
15 changes: 11 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "axn/laravel-extension",
"description" : "Includes various extensions to the Laravel framework 5.1+",
"description" : "Includes various extensions to the Laravel framework",
"homepage" : "https://github.com/AXN-Informatique/laravel-extension",
"support" : {
"issues" : "https://github.com/AXN-Informatique/laravel-extension/issues"
Expand All @@ -12,9 +12,9 @@
],
"license" : "MIT",
"require" : {
"laravel/framework" : "5.4.*",
"laravelcollective/html" : "5.4.*",
"axn/laravel-common-languages-terms" : "dev-master"
"axn/laravel-common-languages-terms" : "dev-master",
"laravel/framework" : "5.4.*|5.5.*",
"laravelcollective/html" : "5.4.*|5.5.*"
},
"autoload" : {
"psr-4" : {
Expand All @@ -24,5 +24,12 @@
"src/helpers.php",
"src/bootstrap.php"
]
},
"extra": {
"laravel": {
"providers": [
"Axn\\Illuminate\\ServiceProvider"
]
}
}
}
21 changes: 3 additions & 18 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ Inclure le package avec Composer :
composer require axn/laravel-extension
```

Si vous souhaitez enregistrer l'ensemble des providers d'un coup, ajoutez le service
provider global au tableau des providers dans `config/app.php` :
Dans Laravel 5.5 le service provider sera automatiquement enregistré.
Dans les anciennes versions du framework, ajoutez simplement ce service provider
au tableau des providers dans `config/app.php` :

```php
// config/app.php
Expand All @@ -42,22 +43,6 @@ provider global au tableau des providers dans `config/app.php` :
];
```

Sinon, vous pouvez choisir vous-mêmes les providers à utiliser (tous ces providers sont
compris dans le provider global ci-dessus) :

```php
// config/app.php

'provider' => [
//...
Axn\Illuminate\Database\DatabaseServiceProvider::class,
Axn\Illuminate\Database\MigrationServiceProvider::class,
Axn\Illuminate\Foundation\Providers\ArtisanServiceProvider::class,
Axn\Illuminate\View\ViewServiceProvider::class,
//...
];
```

Eloquent
--------

Expand Down

0 comments on commit 7c5457f

Please sign in to comment.