Download the PHP package adods/page-marker without Composer

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

Page Marker

A Simple Library for remembering/recording URL Query String used for filtering list

Installation

Via Composer:

or just download the file manually and put in your lib directory

Requirement

PHP >= 7.0 and PHP Session enabled

Simple Usage

Include the library to your file, create instance, init() and remember(). Use forget() to reset.

init()

By default, init() will generate default name from current URL Path, lowercased, then replace slashes '/', dots '.', stripes '-', and spaces ' ' to underscore _. Set default url to current url without it's query string. And use the content of $_GET Super Global variable as base data. But, it can be changed.

After default properties are set, then it will check if redirect to the last state is met or just go on with the process.

The conditions are:

Main Settings/Setup

Settings below should be set BEFORE init().

Session Name:

Name is used as part of the session key.

Name should be easy to read and descriptive about the list and also array key friendly. And any characters mentioned above will be replaced with underscore '_'

Change base URL:

Any query string will be omitted.

Change base data source

More Function

Add/Change data

Using array as parameter will merge the array with current data

Excluding data

Remember Options

Data can also overrided from remember() method.

By default, the given parameter will REPLACE the current base data. To add them, you can use PageMarker::OVERRIDE_APPEND constant as second parameter.

Manually Forget/Reset

Get Forget/Reset URL

Full Example

Try to add parameters to the URL. Everytime the base URL accessed it will automatically redirect with last state URL with Query String Parameters. Click on Reset link to clear all the saved data.


All versions of page-marker with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.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 adods/page-marker contains the following files

Loading the files please wait ....