PHPackages                             nguyenanhung/share-links-generator - 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. [Database &amp; ORM](/categories/database)
4. /
5. nguyenanhung/share-links-generator

ActiveProject[Database &amp; ORM](/categories/database)

nguyenanhung/share-links-generator
==================================

Project Share Links Generator - Share Fb link building

v1.1.2(2y ago)221GPL-3.0-or-laterPHPPHP &gt;=5.6

Since Dec 31Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nguyenanhung/share-links-generator)[ Packagist](https://packagist.org/packages/nguyenanhung/share-links-generator)[ Docs](https://nguyenanhung.com)[ RSS](/packages/nguyenanhung-share-links-generator/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/afc7e049e1054c7806bea0332cf093fdb062a6a4fb8fd92dc3544ad5144b31f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e677579656e616e68756e672f73686172652d6c696e6b732d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/share-links-generator)[![Total Downloads](https://camo.githubusercontent.com/741169cab320ef10d1399fdb1195322450f39b7e1082da003381ec6f980c0454/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e677579656e616e68756e672f73686172652d6c696e6b732d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/share-links-generator)[![License](https://camo.githubusercontent.com/8ce1f2cec4476b6c40acfdb50c82cc5e910936d9f8b5d865e3139a5d03ba5c26/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e677579656e616e68756e672f73686172652d6c696e6b732d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nguyenanhung/share-links-generator)[![PHP Version Require](https://camo.githubusercontent.com/1554b067d256ba517330496fb97e291ecb9f9c79664a3205aa04593c59c05742/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6e677579656e616e68756e672f73686172652d6c696e6b732d67656e657261746f722f706870)](https://packagist.org/packages/nguyenanhung/share-links-generator)

Share Links Generator Tools
===========================

[](#share-links-generator-tools)

Con code này dùng để genarator link dùng share trên các mạng xã hội, được xây dựng dựa trên framework CodeIgniter, phiên bản đang sử dụng 3.1.9

Screenshot Demo
---------------

[](#screenshot-demo)

### Màn hình Login

[](#màn-hình-login)

[![](https://camo.githubusercontent.com/a539c4c78ed7d37c47ed2f2063194e8d0c78560c8c94c2f0f23e02c2e00cab1b/68747470733a2f2f692e6962622e636f2f5268316d5472792f53637265656e2d53686f742d323032312d30392d31362d61742d30332d32352d31322e6a7067)](https://camo.githubusercontent.com/a539c4c78ed7d37c47ed2f2063194e8d0c78560c8c94c2f0f23e02c2e00cab1b/68747470733a2f2f692e6962622e636f2f5268316d5472792f53637265656e2d53686f742d323032312d30392d31362d61742d30332d32352d31322e6a7067)

### Màn hình tạo link và quản lý link

[](#màn-hình-tạo-link-và-quản-lý-link)

[![](https://camo.githubusercontent.com/c19d2b9dfee82a9f20360be4ed39be967938198c9972705925c811d362120480/68747470733a2f2f692e6962622e636f2f516e52304b314c2f53637265656e2d53686f742d323032312d30392d31362d61742d30332d32352d32322e6a7067)](https://camo.githubusercontent.com/c19d2b9dfee82a9f20360be4ed39be967938198c9972705925c811d362120480/68747470733a2f2f692e6962622e636f2f516e52304b314c2f53637265656e2d53686f742d323032312d30392d31362d61742d30332d32352d32322e6a7067)

[![](https://camo.githubusercontent.com/41ae498835882239a1eb336b2a6e5a4dfcf5b16ed1ecd5216dece1959b7a69d8/68747470733a2f2f692e6962622e636f2f7848434d5a766b2f53637265656e2d53686f742d323032312d30392d31362d61742d30332d32352d34322e6a7067)](https://camo.githubusercontent.com/41ae498835882239a1eb336b2a6e5a4dfcf5b16ed1ecd5216dece1959b7a69d8/68747470733a2f2f692e6962622e636f2f7848434d5a766b2f53637265656e2d53686f742d323032312d30392d31362d61742d30332d32352d34322e6a7067)

Hướng dẫn cài đặt
-----------------

[](#hướng-dẫn-cài-đặt)

### Cài đặt qua composer

[](#cài-đặt-qua-composer)

```
composer create-project nguyenanhung/share-links-generator

```

### Cài đặt source code

[](#cài-đặt-source-code)

Sau khi create project về, open project và khai báo qua các bước sau

1. Khai báo trong biến base\_url, file ***application/config.php*** thành địa chỉ tên miền của bạn

```
$config['base_url'] = 'http://link.hungng.io/';
```

2. Khai thông số Database trong file ***application/database.php***

```
$db['default'] = array(
    'dsn'          => 'mysql:host=mariadb;port=3306;dbname=share_links',
    'hostname'     => 'mariadb',
    'port'         => 3306,
    'username'     => 'root',
    'password'     => 'hungna',
    'database'     => 'share_links',
    'dbdriver'     => 'pdo',
    'dbprefix'     => '',
    'pconnect'     => false,
    'db_debug'     => (ENVIRONMENT !== 'production'),
    'cache_on'     => false,
    'cachedir'     => '',
    'char_set'     => 'utf8',
    'dbcollat'     => 'utf8_general_ci',
    'swap_pre'     => '',
    'encrypt'      => false,
    'compress'     => false,
    'stricton'     => false,
    'failover'     => array(),
    'save_queries' => false
);
```

3. Import Data trong thư mục databases/ lên server với đúng db name đã khai báo ở bước 2
4. Quản lý link tại đường dẫn: your-domain.com/login.html, ví dụ:

### Thông tin quản lý

[](#thông-tin-quản-lý)

**Username**: `hungna`

**Password**: `IYmAEWKcU2YnI0mGJPQw5N0X1VxIk4hZ`

được khai báo trong file **application/controllers/Login.php** -&gt; dòng 39 + 40

```
$config['users'] = array(
            1 => array(
                'username' => 'hungna',
                'password' => 'IYmAEWKcU2YnI0mGJPQw5N0X1VxIk4hZ'
            )
        );
```

Do source được thiết kế đơn giản nên không tập trung vào bảo mật do không có gì quá phức tạp cả, khai báo user trực tiếp trong hệ thống cho nhanh

### Khởi chạy Docker

[](#khởi-chạy-docker)

Source code tích hợp sẵn Docker với PHP 7.4. Có thể chạy nhanh theo hướng dẫn sau đây

- Cài đặt Docker theo hướng dẫn tại đây:
- Di chuyển vào thư mục lưu trữ source code

```
cd /path/to/project
```

- Build Docker

```
docker-compose build
```

- Run Docker

```
docker-compose up -d
```

- Truy cập vào đường dẫn:

Thông tin liên hệ
-----------------

[](#thông-tin-liên-hệ)

Bộ source code được thiết kế bởi các thành viên sau đây

NameEmailSkypeFacebookHung Nguyennguyenanhung5891@nguyenanhungFrom Hanoi with Love &lt;3

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~585 days

Total

4

Last Release

933d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3694ef9f3367ff9f6bcd668ca1d6726e3c55e6fd379cba9c2d4ab6a24595fbd8?d=identicon)[7135k13m](/maintainers/7135k13m)

---

Top Contributors

[![hungnguyenhp](https://avatars.githubusercontent.com/u/6778496?v=4)](https://github.com/hungnguyenhp "hungnguyenhp (9 commits)")[![nguyenanhung](https://avatars.githubusercontent.com/u/9348255?v=4)](https://github.com/nguyenanhung "nguyenanhung (2 commits)")

---

Tags

databasefakefakelinklinksphpsharelinkcodeigniterShare Link

### Embed Badge

![Health badge](/badges/nguyenanhung-share-links-generator/health.svg)

```
[![Health](https://phpackages.com/badges/nguyenanhung-share-links-generator/health.svg)](https://phpackages.com/packages/nguyenanhung-share-links-generator)
```

###  Alternatives

[yidas/codeigniter-model

CodeIgniter 3 ORM Base Model pattern with My\_model example

17212.0k2](/packages/yidas-codeigniter-model)[tatter/relations

Entity relationships for CodeIgniter 4

9022.3k1](/packages/tatter-relations)[tatter/schemas

Database schema management, for CodeIgniter 4

2328.5k1](/packages/tatter-schemas)[rougin/refinery

"Ready-to-eat" Codeigniter 3 migrations.

183.8k](/packages/rougin-refinery)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
