Download the PHP package oranfry/jars without Composer
On this page you can find all versions of the php package oranfry/jars. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package jars
Jars
Install Jars
I this document, I'm using:
$HOME/Projects/jars
for the installation directory, but you could use anything. For production I use/var/www/jars
.$HOME/Projects/jars/var
as the variable files directory, but for production I would use/var
(the default).
Get the project:
Test Jars
Initialise a blank database for your portal
An empty database is just an empty directory:
Create your portal
Create the file $HOME/Projects/jars/var/dbs/myportal/portal.php
with these contents, replacing SECR3T with your secret as generated above
For the life of the portal, you must not change your secret or banned_chars. Doing so would result in data corruption as the database gets used.
Now, scan the first million IDs for collions (unusable IDs):
To apply the findings of the above command, merge its output with the sequence setup in portal.php
:
Chances are there will be no collitions under a million, in which case collisions will be an empty array.
You should never remove collisions recorded here, nor increase the max to value higher than what has actually been scanned. If you do, a new ID might be issued which has already been issued before!
Once jars hits the max, it will refuse to issue any new IDs as a safeguard. You will not be able to add data to your database, but everything else will work as normal.
You may increase the max at any time by re-running the collision command with a higher argument, and overwriting the relevant fields in the portal config with those given by the command; the collision command will re-find all the known collisions plus any new ones in range.
You may need to give PHP some more memory when scanning many millions of IDs.
Expose jars admin
Point your web server to $HOME/Projects/jars/public
.
All versions of jars with dependencies
oranfry/jars-cli Version *
oranfry/jars-contracts Version ^7.0.0
oranfry/jars-http Version *
oranfry/jars-refreshd Version *
oranfry/jars-test Version *
oranfry/subsimple Version *
sentry/sentry Version dev-master