adyoi/yii2-webapps

Yii2 Web Application

Maintainers

Package info

github.com/adyoi/yii2-webapps

Language:JavaScript

Type:application

pkg:composer/adyoi/yii2-webapps

Transparency log

Statistics

Installs: 11

Dependents: 0

Suggesters: 0

Stars: 23

Open Issues: 0

2.2.1 2023-12-11 10:47 UTC

This package is auto-updated.

Last update: 2026-08-16 08:48:50 UTC


README

alt text

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

alt text

Preparation

  1. Install Git
  2. Install Composer
  3. Install XAMPP (Windows)
  4. 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

alt text

alt text

Version 2.1

alt text

alt text

alt text

Version 2.0

User Menu Level :

alt text

alt text

API Support :

alt text

alt text

Version 1.0

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

Support me :) 🍔🍟🍕🍱🥪🥑🥛💻

Logo Paypal

  1. PAYPAL

https://paypal.me/adyoi

Logo BCA

  1. BANK BCA (INDONESIA)

Account Number : 4740919909

Account Name : ADI APRIYANTO