adyoi / yii2-webapps
Yii2 Web Application
Package info
Language:JavaScript
Type:application
pkg:composer/adyoi/yii2-webapps
This package is auto-updated.
Last update: 2026-08-16 08:48:50 UTC
README
Yii2 Web Application is a Starter Project dedicated to the yii2 developer community which is equipped with features for fast application creation needs with extra security.
Link Demo :
Frontend : https://yii2-web-apps.000webhostapp.com/
Backend : https://yii2-web-apps.000webhostapp.com/backend
This project was built with :
AdminLTE 3 https://adminlte.io/docs/3.0
Yii2 Lastest Version https://www.yiiframework.com/doc/guide/2.0/en
Bootstrap 4 https://getbootstrap.com/docs/4.0/getting-started/introduction
Become an Open Source Collective contributor :
https://opencollective.com/yiisoft
Preparation
- Install Git
- Install Composer
- Install XAMPP (Windows)
- Install HeidiSQL (Windows)
Installation
Video Tutorial : https://www.facebook.com/100009334052956/videos/953630405682056/
$ git clone https://github.com/adyoi/yii2-webapps.git webapps $ cd webapps $ cd system $ chmod +x ./init $ ./init $ composer update
Create Directory Assets
# Create directory assets Frontend $ mkdir ./assets # Create directory assets Backend $ mkdir ./backend/assets # Optional change directory Backend $ sudo ./chbackend.sh
Configuration
-
Import webapps.sql with HeidiSQL
-
Update file /system/common/config/main-local.php
<?php return [ 'components' => [ 'application' => [ 'class' => 'common\components\Application', ], 'db' => [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=webapps', 'username' => 'root', 'password' => '', 'charset' => 'utf8', ], 'db2' => [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=webapps_table', 'username' => 'root', 'password' => '', 'charset' => 'utf8', ], ... ... ], ];
- Running yii migrate
$ chmod +x ./yii $ ./yii migrate
- Update file /system/common/config/param-local.php
<?php return [ 'bsVersion' => '4.x', 'bsDependencyEnabled' => false, 'upload' => '/images/upload/', ];
- Update file /system/common/config/main.php
<?php return [ // Language 'language' => 'id_ID', // Timezone 'timeZone' => 'Asia/Jakarta', ... ... ];
- Update file /backend/.htaccess
RewriteEngine on # link generate to http://localhost/webapps/backend RewriteBase /webapps/backend ... ...
- Default Login Account
// User Access username : root password : root // Demo Menu username : menu password : menu // User username : admin password : admin username : user password : user
- Running on Browser
Frontend : http://localhost/webapps/ Backend : http://localhost/webapps/backend
Version 2.2
Version 2.1
Version 2.0
User Menu Level :
API Support :
Version 1.0
Support me :) 🍔🍟🍕🍱🥪🥑🥛💻
- PAYPAL
- BANK BCA (INDONESIA)
Account Number : 4740919909
Account Name : ADI APRIYANTO
























