Download the PHP package bartonlp/mysqlslideshow without Composer

On this page you can find all versions of the php package bartonlp/mysqlslideshow. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mysqlslideshow

MySqlSlideShow

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

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

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 [email protected] I will try to answer reasonable questions.

Examples

There are three files in the 'examples' directory:

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

Conclusion

The class is hosted at https://github.com/bartonlp/mysqlslideshow as well as the 'PHP Classes' http://www.phpclasses.org.

Copyright © 2009-2023 Barton Phillips http://www.bartonphillips.com [email protected] OR [email protected]

Last Modified Jan. 27, 2023


All versions of mysqlslideshow with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bartonlp/mysqlslideshow contains the following files

Loading the files please wait ...