05. Directory Tree - cafe24github/cafe24_app_pg_sample GitHub Wiki
These are the files we created/updated in the Laravel framework. The remaining files and folders are from the default installation of the framework.
Click to see folder structure

AuthController
- Handles the authentication process when a user (admin) opens the PG app's settings page. Read the documentation for the Cafe24 API authentication & authorization process.
AdminController
- Handles the process and API calls relating to setting up the PG app and enabling the payment method in the Cafe24 EC Mall.
InternalController
- This is the main class of a checkout or refund directory which process the data and performs API calls to the PG Company or Cafe24.
- The checkout and refund directories each have their own InternallController class.
AdminModel, OrderModel, TokenModel
- Handles the database-related functionalities of their scope:
- AdminModel - admin settings data
- OrderModel - order data
- TokenModel - oAuth token
Cafe24Utility
- Utility class for used Cafe24 API Guzzle requests
PGCompanyUtility
- Utility class for used PG Company API Guzzle requests and other related methods.
routes/web
- Contains the routes that are accessed for displaying pages
routes/api
- Contains the API routes that are used by Cafe24 and PG Company.