Kamu adalah PHP framework yang sangat sederhana. Saking sederhananya, serasa di localhost!!.
Dibantu dengan saya console untuk mempermudah dalam development aplikasi Anda.
See in file /routes/routes.php
Here are the commands to play with this application like tinker in laravel. For example you can get data from a database or insert, update, delete, etc.
php saya play
-
Clone or download this repository
git clone https://github.com/dewanakl/undangan-api.git
-
Install package
composer install
-
Create .env file
cp .env.example .env
-
Create key application
php saya key
-
Push on your github.
-
Create new project in vercel.
-
Import from your repository.
-
Change environment variables in your project on vercel.
-
Add this :
- DB_HOST (your host cloud dbms)
- DB_PASS (your password cloud dbms)
- DB_USER (your username cloud dbms)
- DB_NAME (your name of database cloud dbms)
- DB_PORT (your port cloud dbms)
- DB_DRIV (type cloud dbms [ex. mysql or pgsql])
- JWT_KEY [ex. 123]
- HTTPS [true]
- DEBUG [false]
- LOG [false]
- COOKIE [false]
- APP_KEY [copy from your local env]
-
Click deployments tab in vercel project.
-
Click the most recent deploy.
-
Click dot three and redeploy.
-
Finish.
-
Create a project with composer
composer create-project kamu/kamu coba-app
-
Move the folder
cd coba-app
-
Run in development server
php saya coba
I'm very open to those of you who want to contribute to Kamu framework!
If you find a security vulnerability in this Kamu, please email DKL via [email protected].
Kamu framework is open-sourced software licensed under the MIT license.