PHP code example of elenyum / maker
1. Go to this page and download the library: Download elenyum/maker library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
elenyum / maker example snippets
#[Auth(name: 'Bearer', model: News::class)]
/module/{ModuleName}/v1/
├── Controller
│ ├── {Entity}GetController.php
│ ├── {Entity}ListController.php
│ ├── {Entity}PostController.php
│ ├── {Entity}PutController.php
│ └── {Entity}DeleteController.php
├── Entity
│ └── {Entity}.php
├── Service
│ └── {Entity}Service.php
└── Repository
└── {Entity}Repository.php