PHPackages                             sujanhbg/esapp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. sujanhbg/esapp

ActiveLibrary[Framework](/categories/framework)

sujanhbg/esapp
==============

A simple micro framework for php development

V1.0.2(4y ago)018MITPHPPHP ^5.6|^7.0|^8.0

Since Jun 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/sujanhbg/EsApp)[ Packagist](https://packagist.org/packages/sujanhbg/esapp)[ RSS](/packages/sujanhbg-esapp/feed)WikiDiscussions main Synced 6d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

EsApp
=====

[](#esapp)

###### Essential PHP Liquid Framework, PHP Library Collection and Simple Framework for Enterprise Application Development

[](#essential-php-liquid-framework-php-library-collection-and-simple-framework-for-enterprise-application-development)

### Instalation:

[](#instalation)

composer require sujanhbg/kring or Clone it into your machine

###### Configure Apache

[](#configure-apache)

```
DocumentRoot "path/to/project/public"

    Options Indexes FollowSymLinks Includes ExecCGI
    Require all granted
	  Options +SymLinksIfOwnerMatch
		RewriteEngine On
		RewriteCond %{REQUEST_URI} !\.png$ [NC]
		RewriteCond %{REQUEST_URI} !\.jpg$ [NC]
		RewriteRule ^(.*)$ index.php [NC,L]

```

Ingnore .htaccess file for speed up your web application

### Use:

[](#use)

##### Creating Database

[](#creating-database)

You need to connect mysql database server for user authentication. first create a database as your defined name import database.sql file in to your database

open configs/database.php

```
$db['driver'] = "mysqli";
$db['host'] = "localhost";
$db['user'] = "root";
$db['password'] = "";
$db['database'] = "databasename";
```

#### Your application folde is apps/

[](#your-application-folde-is-apps)

apps folder contain dev-master folder which define your current development version.

The dev-master folder assets, controllers, models ans view folder.

First create new controller with model.

Open

Use user name as Admin, Password as Admin1@1

in left side click create controller, then write your controller name (The default controller name is Home.php) press enter. This action will create **Yourcontrollername.php** in controllers folder and **Model\_yourcontrollername.php** in models folder.

open your controller file

```
