alex-kalanis / kw_semaphore
Semaphore for states in KWCMS
v2.0.0
2024-03-31 12:19 UTC
Requires
- php: >=7.4.0
- alex-kalanis/kw_paths: >=4.0 <5
Requires (Dev)
- alex-kalanis/kw_files: >=4.0 <5
- alex-kalanis/kw_storage: >=5.0 <6
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: >=8.0 <=9
- shipmonk/composer-dependency-analyser: ^1.4
Suggests
- alex-kalanis/kw_files: Accessing stored entries as files on some volume
- alex-kalanis/kw_storage: Local storage for accessing resources
README
Simple semaphore to determine if some element did something.
PHP Installation
composer.phar require alex-kalanis/kw_semaphore
(Refer to Composer Documentation if you are not familiar with composer)
PHP Usage
1.) Use your autoloader (if not already done via Composer autoloader)
2.) Add some external packages with connection to the local or remote services.
3.) Connect the "kalanis\kw_semaphore\Semaphore*" into your app. Extends it for setting your case.
4.) Extend your libraries by interfaces inside the package.
5.) Just call setting and render