PHPackages                             buonzz/youthere-ci - 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. buonzz/youthere-ci

ActiveCodeigniter-library

buonzz/youthere-ci
==================

A CodeIgniter Library to Check if files is present in another server

v1.0.0(11y ago)116MITPHPPHP &gt;=5.3.0

Since Jul 8Pushed 11y agoCompare

[ Source](https://github.com/buonzz/youthere-ci)[ Packagist](https://packagist.org/packages/buonzz/youthere-ci)[ RSS](/packages/buonzz-youthere-ci/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

youthere-ci
===========

[](#youthere-ci)

[![Build Status](https://camo.githubusercontent.com/b9c8d5df35bed6b70ae86d9a14849f2c1b03a2341685b0dc9b7af455dec52c2b/68747470733a2f2f7472617669732d63692e6f72672f62756f6e7a7a2f796f7574686572652d63692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/buonzz/youthere-ci)

A CodeIgniter Library to Check if files is present in another server

Have you ever been in a situation that your web application is in server A, then your video/media files is on server B Then some logic in your CodeIgniter application relies on the presence of a particular file in Server B?

Example Scenario: You only wanted to show the HD button in your website, if the HD video file in another server is present. This library will help you in doing such query in a very easy to use interface.

Requirements
------------

[](#requirements)

- PHP &gt;= 5.2
- CodeIgniter Application
- Valid FTP account to the server that you need to query

Installation
------------

[](#installation)

The easiest way to install this is to clone the repo in your local disk. Then copy the src/Youthere.php file in your application/libraries Folder.

You can then load it like any other library

```
$this->load->library('youthere');

```

Usage
-----

[](#usage)

Using it is very easy

```
$results = $this->youthere->check_files_presence(
        $paths,
        $ftp_host,
        $ftp_username,
        $ftp_password);

```

$paths - is an array of paths to the files that should be checked the presence in the server. Note that the path is the path on the target server

$ftp\_host - is the hostname of the server that contains the files to check $ftp\_username - is the ftp username $ftp\_password - is the ftp password

The $results will return an array, on which the keys are the $paths variable, on which each value is either a TRUE/FALSE, depending on whether the file is present in the server or not.

For example, passing this array

```
array('/folder1/file1.txt', '/folder2/picture.png')

```

will return this array result

```
array('/folder1/file1.txt' => TRUE , '/folder2/picture.png' => FALSE)

```

Given that, file1.txt is present in the server, and picture.png wasn't

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

4325d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ace28ed0f8f9067b0083c1cdce556c1b183d91d8cf2ef65a01736fe1c1464782?d=identicon)[buonzz](/maintainers/buonzz)

---

Top Contributors

[![buonzz](https://avatars.githubusercontent.com/u/946233?v=4)](https://github.com/buonzz "buonzz (9 commits)")

---

Tags

librarycodeigniterphp ftpfile checkerfile presenceavailable files

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/buonzz-youthere-ci/health.svg)

```
[![Health](https://phpackages.com/badges/buonzz-youthere-ci/health.svg)](https://phpackages.com/packages/buonzz-youthere-ci)
```

###  Alternatives

[compwright/codeigniter-installers

Composer installers for CodeIgniter

2982.0k4](/packages/compwright-codeigniter-installers)[gccloud/parser

CodeIgniter 3 Parser library extension

166.5k](/packages/gccloud-parser)[yidas/codeigniter-pack

Codeigniter 3 complete solution pack with enhanced &amp; modern framework extensions

682.7k](/packages/yidas-codeigniter-pack)[nguyenanhung/codeigniter-basic-helper

CodeIgniter - Basic Helper

1027.3k1](/packages/nguyenanhung-codeigniter-basic-helper)[romainrg/rabbitmq_client

CodeIgniter Library for RabbitMQ interactions with CodeIgniter using PHP-AMQPLib

153.5k](/packages/romainrg-rabbitmq-client)

PHPackages © 2026

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