Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Move the command to the end for easy sighting and clarification.
  • Loading branch information
solomon-ochepa authored Nov 18, 2023
1 parent 3232601 commit 10679c3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Find out why you should use this package in the article: [Writing modular applic

## Install

To install through Composer, by run the following command:
To install via Composer, run:

``` bash
composer require nwidart/laravel-modules
Expand All @@ -45,9 +45,7 @@ php artisan vendor:publish --provider="Nwidart\Modules\LaravelModulesServiceProv
```

### Autoloading

By default, the module classes are not loaded automatically. You can autoload your modules using `psr-4`. For example:

By default, module classes aren't loaded automatically. To autoload them using psr-4, add the following line to the end of the root composer.json file under the autoload section:
``` json
{
"autoload": {
Expand Down

0 comments on commit 10679c3

Please sign in to comment.