Skip to content

Commit

Permalink
Documentation updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi committed May 26, 2024
1 parent 9c3b41e commit 7cfcda8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions documentation/MOVIE_CATALOG_APP_WALK_THROUGH.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ the commands below:
./vendor/bin/smvc-create-controller -c users -p "./src" -n "MovieCatalog\Controllers" -e "\MovieCatalog\Controllers\MovieCatalogBase"
./vendor/bin/smvc-create-controller -c movie-listings -p "./src" -n "MovieCatalog\Controllers" -e "\MovieCatalog\Controllers\MovieCatalogBase"
composer dumpautoload -o
```

We should now have the following files and folders in our app:
Expand Down
6 changes: 3 additions & 3 deletions documentation/QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@
- Customize **./config/app-settings.php**, **./config/dependencies.php**, **./config/env.php**, **./config/ini-settings.php** and optionally **./config/routes-and-middlewares.php** to suit your needs.

- Start creating controllers for your application using **./vendor/bin/smvc-create-controller-wizard**
> It is recommended that you first create a base controller for your application, which will contain all the logic that will be common to all your application's other controllers. The other controllers should extend your application's base controller.

> It is recommended that you first create a base controller for your application, which will contain all the logic that will be common to all your application's other controllers. The other controllers should extend your application's base controller.
> Make sure you add the namespace for your apps controller classes to the array referenced by **$container[\SlimMvcTools\ContainerKeys::NAMESPACES_4_CONTROLLERS]** in **./config/dependencies.php**
> Make sure you add the namespace for your apps controller classes to the array referenced by **$container[\SlimMvcTools\ContainerKeys::NAMESPACES_4_CONTROLLERS]** in **./config/dependencies.php**
> Always run **composer dump** after each time your create a new controller class with **./vendor/bin/smvc-create-controller** or **./vendor/bin/smvc-create-controller-wizard**.

## Key Directories and Configuration
* **`config`:** Contains files for configuring the application
Expand Down

0 comments on commit 7cfcda8

Please sign in to comment.