NSY PHP Framework Example with HTML5 Boilerplate and Bulma CSS Framework. This also provides Font-Awesome and several optimizations for Datatables plugin.
MIT License
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
Before installing NSY, there are several applications that must be installed to support NSY operation.
Windows Installation :
wget.exe
file into your C:\Windows\System32
folder. Simply copy it from one location to the other.wget -V
to see if it is installed.Linux Installation (Debian based) :
apt-get install wget
.wget --version
flag.MacOS Installation :
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install wget
.wget -V
.Windows Installation :
composer -V
to see if it is installed.Linux Installation (Debian based) :
sudo php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');".
sudo php composer-setup.php --install-dir=/usr/bin --filename=composer
composer -V
to see if it is installed.MacOS Installation :
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;"
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer.
rm composer-setup.php
.composer
.Windows Installation :
Download
button to get the latest version of Git for Windows.Linux Installation (Debian based) :
sudo apt install git
git --version
MacOS Installation :
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
vylma
& copy it to your html
or htdocs
or anythings folder.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
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'
docs/env.example
folder and copy the env.example
to root folder, and rename it to env
.blog
composer create-project --prefer-dist vikry/vylma blog
source ~/reloader.sh
cd blog && nsy --setup
Enter directory name >
blog
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.
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)
The code is available under the MIT license.