2017 © Pedro Pelรกez
 

library bitmask

Simple bitmask implementation

image

aliance/bitmask

Simple bitmask implementation

  • Saturday, June 10, 2017
  • by Aliance
  • Repository
  • 0 Watchers
  • 1 Stars
  • 141 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 15 Versions
  • 0 % Grown

The README.md

Simple bitmask implementation

License Packagist PHP Version Code Coverage, (*1)

About

Bitmask is a simple PHP implementation of bitwise operations for creating masks. Can be used for some flags' implementation. Supports only 64 bits (from 0 to 63) on x64 platforms., (*2)

Installation

Install the latest version with composer:, (*3)

composer require aliance/bitmask

If you checkout this library for testing purposes, install its dependencies:, (*4)

docker run --rm -it --volume $PWD:/app -u $(id -u):$(id -g) composer:2 i

Usage

See usage in sample file., (*5)

docker run -it --rm -v "$PWD":/usr/src/bitmask -w /usr/src/bitmask php:8.1-cli php example/example.php  

``` Check user for all access levels: Create: no Read: no Update: no Delete: no โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“, (*6)

Check user for all access levels: Create: no Read: yes Update: no Delete: no โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“โ€“, (*7)


Tests --- For completely tests running just call `composer exec phpunit` or use ```bash docker run -it --rm -v "$PWD":/usr/src/bitmask -w /usr/src/bitmask php:8.1-cli php ./vendor/bin/phpunit

License

This software is distributed under MIT license., (*8)

The Versions

10/06 2017

2.0.x-dev

2.0.9999999.9999999-dev https://github.com/Aliance/Bitmask

Simple bitmask implementation

  Sources   Download

MIT

The Requires

  • php-64bit >=7.0

 

The Development Requires

by Avatar Aliance

bitmask

10/06 2017

dev-type-hinting

dev-type-hinting https://github.com/Aliance/Bitmask

Simple bitmask implementation

  Sources   Download

MIT

The Requires

  • php-64bit >=7.0

 

The Development Requires

by Avatar Aliance

bitmask

10/06 2017

dev-master

9999999-dev https://github.com/Aliance/Bitmask

Simple bitmask implementation

  Sources   Download

MIT

The Requires

  • php-64bit >=5.5

 

The Development Requires

by Avatar Aliance

bitmask

10/06 2017

1.1.x-dev

1.1.9999999.9999999-dev https://github.com/Aliance/Bitmask

Simple bitmask implementation

  Sources   Download

MIT

The Requires

  • php-64bit >=5.5

 

The Development Requires

by Avatar Aliance

bitmask

08/06 2017

2.0.0-rc1

2.0.0.0-RC1 https://github.com/Aliance/Bitmask

Simple bitmask implementation

  Sources   Download

MIT

The Requires

  • php-64bit >=7.0

 

The Development Requires

by Avatar Aliance

bitmask

08/06 2017

1.1.1

1.1.1.0 https://github.com/Aliance/Bitmask

Simple bitmask implementation

  Sources   Download

MIT

The Requires

  • php-64bit >=5.5

 

The Development Requires

by Avatar Aliance

bitmask

08/06 2017

1.1.0

1.1.0.0 https://github.com/Aliance/Bitmask

Simple bitmask implementation

  Sources   Download

MIT

The Requires

  • php-64bit >=5.5

 

The Development Requires

by Avatar Aliance

bitmask

06/06 2017

1.0.4

1.0.4.0 https://github.com/Aliance/Bitmask

Simple bitmask implementation

  Sources   Download

MIT

The Requires

  • php-64bit >=5.5

 

The Development Requires

by Avatar Aliance

bitmask

08/02 2017

dev-php-7

dev-php-7 https://github.com/Aliance/Bitmask

Simple bitmask implementation

  Sources   Download

MIT

The Requires

  • php-64bit >=7.0

 

The Development Requires

by Avatar Aliance

bitmask

06/02 2017

1.x-dev

1.9999999.9999999.9999999-dev https://github.com/Aliance/Bitmask

Simple bitmask implementation

  Sources   Download

MIT

The Requires

  • php-64bit >=5.5

 

The Development Requires

by Avatar Aliance

bitmask

06/02 2017

1.0.3

1.0.3.0 https://github.com/Aliance/Bitmask

Simple bitmask implementation

  Sources   Download

MIT

The Requires

  • php-64bit >=5.5

 

The Development Requires

by Avatar Aliance

bitmask

06/02 2017

1.0.2

1.0.2.0 https://github.com/Aliance/Bitmask

Simple bitmask implementation

  Sources   Download

MIT

The Requires

  • php-64bit >=5.5

 

The Development Requires

by Avatar Aliance

bitmask

10/11 2016

1.0.1

1.0.1.0 https://github.com/Aliance/Bitmask

Simple bitmask implementation

  Sources   Download

MIT

The Requires

  • php-64bit >=5.5

 

The Development Requires

by Avatar Aliance

bitmask

10/11 2016

1.0.0

1.0.0.0 https://github.com/Aliance/Bitmask

Simple bitmask implementation

  Sources   Download

MIT

The Requires

  • php-64bit >=5.5

 

The Development Requires

by Avatar Aliance

bitmask

10/11 2016

1.0.0-alpha

1.0.0.0-alpha https://github.com/Aliance/Bitmask

Simple bitmask implementation

  Sources   Download

MIT

The Requires

  • php-64bit >=5.4

 

by Avatar Aliance

bitmask