vikry/vylma 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vikry/vylma

Composer 安装命令:

composer create-project vikry/vylma

包简介

NSY is a simple PHP Framework that works well on MVC or HMVC mode

README 文档

README

NSY PHP Framework Example with HTML5 Boilerplate and Bulma CSS Framework. This also provides Font-Awesome and several optimizations for Datatables plugin.

This is an example of a CRUD program & homepage using the NSY Framework (Vylma Project), i hope it can be useful for everyone to start using NSY as the project framework. I made this because I know that everyone loves CRUD..so Enjoy it!

Site example : https://vylma.nsyframework.com

How to dating with Vylma?

The Requirement

Before installing NSY, there are several applications that must be installed to support NSY operation.

1. Install Wget

Windows Installation :

  • Download Wget from this site https://eternallybored.org/misc/wget/.
  • Copy the wget.exe file into your C:\Windows\System32 folder. Simply copy it from one location to the other.
  • Verify the Installation on Windows, open the command prompt (cmd.exe) and run wget -V to see if it is installed.

Linux Installation (Debian based) :

  • To install Wget on Linux Ubuntu/Debian use the apt-get command apt-get install wget.
  • And verify installation with the wget command with the wget --version flag.

MacOS Installation :

  • Install Homebrew, In Terminal type the following command:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Install Wget, In Terminal Type the following command: brew install wget.
  • Check if Wget is installed open Terminal and type wget -V.

2. Install Composer

Windows Installation :

Linux Installation (Debian based) :

  • Download the installer and composer setup:
sudo php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');".
  • Run the installer:
sudo php composer-setup.php --install-dir=/usr/bin --filename=composer
  • Verify the Installation, open Terminal and run composer -V to see if it is installed.

MacOS Installation :

  • Download and install Composer using the following commands:
curl -sS https://getcomposer.org/installer -o composer-setup.php
HASH="$(curl -sS https://composer.github.io/installer.sig)"
php -r "if (hash_file('sha384', 'composer-setup.php') === '$HASH') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
  • If the installer is verified, proceed with the installation:
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer.
  • Remove the installer script: rm composer-setup.php.
  • Check that Composer is installed and accessible: composer.

3. Install Git

Windows Installation :

  • Go to the official Git website at https://git-scm.com/.
  • Click on the Download button to get the latest version of Git for Windows.

Linux Installation (Debian based) :

  • Install Git using the package manager: sudo apt install git
  • Check the installed Git version: git --version

MacOS Installation :

  • Install Homebrew, In Terminal type the following command:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Once Homebrew is installed, use it to install Git: brew install git

  • Check the installed Git version: git --version

NSY Installation

Download from Github

  • Download source from this link https://github.com/kazuyamarino/vylma/releases.
  • Simply rename the source folder that has been downloaded to vylma & copy it to your html or htdocs or anythings folder.
  • For apache, please go to the docs/apache folder and read the Readme.txt.
// Apache Readme.txt
1. Copy .htaccess inside 'for_public' folder to 'public' folder
2. Copy .htaccess inside 'for_root' folder to 'root(vylma)' folder
  • For nginx, please go to the docs/nginx folder and read the Readme.txt too.
// Nginx Readme.txt
1. Open 'sudo nano /etc/nginx/sites-enabled/default'
2. Copy the text in the 'default' file and paste it to /etc/nginx/sites-enabled/default
3. And restart nginx service, 'sudo service nginx restart'
  • Go to the docs/env.example folder and copy the env.example to root folder, and rename it to env.
  • Import database example. (see below)
  • And save the date..

Download from Composer

Install NSY by creating a new directory called blog

composer create-project --prefer-dist vikry/vylma blog

Restart Bash

source ~/reloader.sh

NSY Setup

cd blog && nsy --setup

Enter directory name >
blog

Database Example

There is an example mysql or mariadb database (for test the CRUD process) in the Migrations folder. You can restore it to a database with this way NSY Migration.

Vylma contain package

NSY Framework

NSY is a simple PHP Framework that works well on MVC or HMVC mode.

Site example : https://nsyframework.com/

See further explanation here... NSY Documentation (Documentation is undercontruction, sorry for many information have been missed)

License

The code is available under the MIT license.

vikry/vylma 适用场景与选型建议

vikry/vylma 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 36 次下载、GitHub Stars 达 3, 最近一次更新时间为 2019 年 12 月 27 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 vikry/vylma 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 vikry/vylma 我们能提供哪些服务?
定制开发 / 二次开发

基于 vikry/vylma 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 36
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-12-27