Download the PHP package netsiteweaver/codeigniter3-versioning without Composer

On this page you can find all versions of the php package netsiteweaver/codeigniter3-versioning. 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 codeigniter3-versioning

codeigniter3-versioning

Composer package (library type) shipping installable stubs for a CodeIgniter 3 release-versioning module: history table, admin UI, public release links with token, and optional email notifications.

Package name: netsiteweaver/codeigniter3-versioning

This folder is intended to live in its own Git repository (publish to GitHub, then composer require netsiteweaver/codeigniter3-versioning once you register it on Packagist or use a VCS repository URL).

Requirements

Install

1. Composer

From your CI3 project root:

Or add a VCS repository in composer.json until the package is on Packagist.

Files to copy live under:

vendor/netsiteweaver/codeigniter3-versioning/resources/install/

2. Copy application files

Copy into your application/ tree:

From package To your app
resources/install/application/controllers/Version.php application/controllers/Version.php
resources/install/application/models/Version_model.php application/models/Version_model.php
resources/install/application/views/version/ application/views/version/
resources/install/application/views/email/version/ application/views/email/version/

3. Assets

Copy JS (and ensure Summernote + version_form.js are loaded on the release form page; version_notifications.js on the notifications page):

The notifications script expects global base_url and setFooterMessage like the reference app — adapt if your JS conventions differ.

4. Migrations

Copy the two migration files from resources/migrations/ into application/migrations/ and rename only the numeric prefix so they run after your latest migration (e.g. 094_Versioning_schema.php, 095_Versioning_menu.php).
Keep the PHP class names unchanged: Migration_Versioning_schema and Migration_Versioning_menu (CodeIgniter maps them from the part of the filename after the number).

Run migrations as you normally do (CLI or Migrate controller).

If your menu table columns differ from a typical lemon-yellow schema, adjust migration 002 before running.

5. Auth: public release URL

Allow guests to open version/release/{id}/{token} (email links). In your auth hook (example pattern):

Add that next to your other unauthenticated routes.

6. Optional: global current version in layout

In MY_Controller (or equivalent), load the model once and expose the string:

7. System_model helper

Add this method to your System_model (or equivalent) so the notifications screen can save recipients:

Publishing this repo

Create an empty repository on GitHub, add origin, and push. Then submit to Packagist or reference the Git URL in consuming projects.

License

MIT


All versions of codeigniter3-versioning with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
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 netsiteweaver/codeigniter3-versioning contains the following files

Loading the files please wait ...