PHP code example of keenlysoft / app
1. Go to this page and download the library: Download keenlysoft/app 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/ */
keenlysoft / app example snippets
nginx
server {
listen 80;
server_name example.test;
root /path/to/keenly/web;
index index.php;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ [^/]\.php(/|$) {
try_files $uri =404;
fastcgi_pass unix:/path/to/php-fpm.sock;
fastcgi_index index.php;
bash
php keenly model
php keenly model user
php keenly model -f user