INDONESIA POSTAL CODE & AREA
This contains database postal code & area.
@see https://github.com/pentagonal/Indonesia-Postal-Code
- php 7.0 or later
- php pdo & sqlite extension
- php json extension
- Web server nginx or apache with mod_rewrite enabled
- Slim Framework
- version: ^3.21
- repository: https://github.com/slimphp/Slim
- website: http://slimframework.com/
{
"slim/slim": "^3.12",
"pentagonal/database-dbal": "^1"
}
see ROUTES.md
Set server environment (to get via getenv()
) to 'DEVELOPMENT_MODE=1'
Document root placed on public
directory
(root)/
├── app/ (path of application container, middleware and routes file)
│ ├── Container.php (File for Container / Dependency Injection)
│ ├── Middleware.php (File for Middleware)
│ └── Routes.php (File For Routes)
│
├── public/ (Path of document root)
│ └── index.php (File index root)
│
└─── storage/ (Directory to stored data storage)
└── database/ (Directory to store database files)
└── sqlite_provinces.sqlite (Provinces & Postal Code database file)
- nawa
- email: me@arrayiterator.com
- website: https://www.pentagonal.org
- github: @ArrayIterator
- ONPHPID
- website : https://www.onphpid.com
- youtube : https://www.youtube.com/c/onphpidtutorial