Download the PHP package chez14/f3-ilgar without Composer

On this page you can find all versions of the php package chez14/f3-ilgar. 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 f3-ilgar

Ilgar

PHP from Packagist Travis (.org) Packagist GitHub release

Quick and simple migration tool for Fat-Free Framework.

Getting Started

  1. Install via Composer

  2. Decide your bombarding option

    • Do it with default configuration? Default settings:

      • Call /ilgar/migrate to do migration

      • Use Migration as your migration class namespace prefix

      • Migration packets placed in a Migration or migration folder in your project root folder.

      Then, just add this to your index.php file:

    • Do it with your own style and custom security?

      Just invoke \Chez14\Ilgar\Boot::trigger_on(); Anywhere at your controller. This will trigger migration process and returns quick stats.

  3. Create your first ever migration packet

  4. Deploy migration by accessing /ilgar/migrate

    or

MigrationPacket Class Example

This file is available on your migration folder, located on your project root folder. Alternatively you can set the folder by setting ILGAR.path.


IMPORTANT! The file name should be formatted as "0-classname.php", where the 0 is any number (you can use just normal number 1-ClassName.php, or CI-style timestamp 180901012400-ClassName.php), seperated with single dash, and followed with your class name, either in lowercase, SnakeCase, or camelCase.

IMPORTANT! You need to extends \Chez14\Ilgar\MigrationPacket class. This will ensure required methods is always available and dependable.


Here's your file: 1-test01.php.

MigrationPacket abstract class

It's just a normal class. With something that you need to implement:

Ilgar has 2 ability, bomb and self-destruct. Bomb means do the migration mission (on_migrate), self-destruct means when it failed do the mission it will use their remaining power to do suicide bombing, in this matter, it means rollback the migration mission (on_failed).

More convenient event-based functions (all of this is optional):

Quick Api for Ilgar

Ilgar's API is available on Chez14\Ilgar\Internal class. It's a \Prefab child class, do if you wanted to get it's instance, you can obtain the instance by calling Chez14\Ilgar\Internal::instance(). Aaanyway, here's the API list:

get_current_version()

returns an int.

This integer represent current migration version point, declared by the filename.

Will load the version from migration.json.

reset_version()

returns void.

Will forcefully delete migration.json at designated path.

get_stats()

returns quick stats.

This will return current statistics with the migrations.

Quick Stats

Quick stats is a array, consisting:

License

Yes, GPLv3.

FAQ and RAQ (Rarely Asked Question)

Why naming it "Ilgar"?

Ilgar is a bombarding-type Trion Warrior. It's used by Aftocrator and Chion for invasion. Yes, it's meant to bombarding the database with migration packets.


All versions of f3-ilgar with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
monolog/monolog Version ^1.23
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 chez14/f3-ilgar contains the following files

Loading the files please wait ....