PHPackages                             bartonlp/mysqlslideshow - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. bartonlp/mysqlslideshow

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bartonlp/mysqlslideshow
=======================

Slide show driven by a mysql database table

1.0.0(11y ago)020MITShellPHP &gt;=5.4

Since Apr 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bartonlp/mysqlslideshow)[ Packagist](https://packagist.org/packages/bartonlp/mysqlslideshow)[ RSS](/packages/bartonlp-mysqlslideshow/feed)WikiDiscussions master Synced today

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

MySqlSlideShow
==============

[](#mysqlslideshow)

Store Slide Show information in a MySql database and show Slide Show in a browser.

History
-------

[](#history)

This class was designed in 2009 and was updated April 2015 to new HTML5 and CSS3 features. It was updated again Jan. 2023.

Install
-------

[](#install)

Either download the ZIP file or install with Composer.

1. unzip the zip file (you have probably already done this if you are reading this)
2. the directory structure is as follows:
    - examples/
    - README.html
    - README.md
    - composer.json
    - gulpfile.js

    If you loaded this with 'composer' instead of from the ZIP then this stucture is under 'vendor/bartonlp/mysqlslideshow/'.
3. In either case you may need get \*mysql\* running and then: ```
    CREATE DATABASE mysqlslideshow;
    ```

    Create the database table. The file 'mktable.sql', in the 'examples' directory, if sourced within the 'msql' client will make the table 'mysqlslideshow'. If you want to call your table something else you can edit the 'mktable.sql' file and then either edit the 'mysqlslideshow.class.php' (NOT RECOMMENDED), or use the constructor with the additional optional arguments: The first three arguments come from the 'dbclass.conectioninfo.i.php' file. Add the forth and fifth arguments for your database name and table name.

    ```
    $ss = new MySqlSlideshow($Host, $User, $Password, 'YourDatabaseName', 'YourTableName');
    ```

    Or edit 'dbclass.connectioninfo.i.php' and add '$Database' and '$Table' and add them to the invocation above instead of the strings. You can create the table from inside the 'mysql' client by using the source statement:

    ```
    source mktable.sql;
    ```

    or just do it the hard way by typing in the create statement.
4. add some images to your database table. There are two easy ways to do this:
    1. use the 'addupdateimage.php' program in the 'examples' directory.
    2. use the 'addimages.php' program in the 'examples' directory.
5. try out the examples 'serverside.php' and 'browserside.html' on your own server. Then start writing your own code. Have fun. If you don't have Apache running you can use the PHP server. Just enter ```
    php -S localhost:8080
    ```

    from the project directory and then in your browser enter

    ```
    localhost:8080/serverside.php
    ```

    or 'browserside.html' to see the sites.

    Any questions can be sent to [](mailto://barton@bartonphillips.com) I will try to answer reasonable questions.

Examples
--------

[](#examples)

There are three files in the 'examples' directory:

- serverside.php
- browserside.html
- ie.html
- mysqlslideshow.class.php

'mysqlslideshow.classs.php' is the Ajax target and has the MySqlSlideShow class.

Conclusion
----------

[](#conclusion)

The class is hosted at  as well as the 'PHP Classes' .

Copyright © 2009-2023 Barton Phillips [](mailto://barton@bartonphillips.com)OR [](mailto://bartonphillips@gmail.com)

Last Modified Jan. 27, 2023

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

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

4097d ago

### Community

Maintainers

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

---

Top Contributors

[![bartonlp](https://avatars.githubusercontent.com/u/3002761?v=4)](https://github.com/bartonlp "bartonlp (16 commits)")

### Embed Badge

![Health badge](/badges/bartonlp-mysqlslideshow/health.svg)

```
[![Health](https://phpackages.com/badges/bartonlp-mysqlslideshow/health.svg)](https://phpackages.com/packages/bartonlp-mysqlslideshow)
```

###  Alternatives

[harvesthq/chosen

Chosen is a JavaScript plugin that makes select boxes user-friendly. It is currently available in both jQuery and Prototype flavors.

405.3M12](/packages/harvesthq-chosen)[haltuf/genderer

Independent library to detect gender by name in Czech. Also returns 5th grammatical case (vocative) for salutation.

34237.5k](/packages/haltuf-genderer)

PHPackages © 2026

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