resource-watcher | Simple PHP resource watcher library
kandi X-RAY | resource-watcher Summary
kandi X-RAY | resource-watcher Summary
resource-watcher is a PHP library. resource-watcher has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
To watch resources you first need an instance of JasonLewis\ResourceWatcher\Watcher. This class has a few dependencies (JasonLewis\ResourceWatcher\Tracker and Illuminate\Filesystem\Filesystem) that must also be instantiated. Now that we have our watcher we can create a listener for a given resource. When you watch a resource an instance of JasonLewis\ResourceWatcher\Listener is returned. With this we can now listen for certain events on a resource. There are three events we can listen for: modify, create, and delete. The callback you give to the listener receives two parameters, the first being an implementation of JasonLewis\ResourceWatcher\Resource\ResourceInterface and the second being the absolute path to the resource. You can use the alias methods as well. You can also listen for any of these events. This time the callback receives a different set of parameters, the first being an instance of JasonLewis\ResourceWatcher\Event and the remaining two being the same as before.
To watch resources you first need an instance of JasonLewis\ResourceWatcher\Watcher. This class has a few dependencies (JasonLewis\ResourceWatcher\Tracker and Illuminate\Filesystem\Filesystem) that must also be instantiated. Now that we have our watcher we can create a listener for a given resource. When you watch a resource an instance of JasonLewis\ResourceWatcher\Listener is returned. With this we can now listen for certain events on a resource. There are three events we can listen for: modify, create, and delete. The callback you give to the listener receives two parameters, the first being an implementation of JasonLewis\ResourceWatcher\Resource\ResourceInterface and the second being the absolute path to the resource. You can use the alias methods as well. You can also listen for any of these events. This time the callback receives a different set of parameters, the first being an instance of JasonLewis\ResourceWatcher\Event and the remaining two being the same as before.
Support
Quality
Security
License
Reuse
Support
resource-watcher has a low active ecosystem.
It has 216 star(s) with 43 fork(s). There are 16 watchers for this library.
It had no major release in the last 12 months.
There are 3 open issues and 2 have been closed. There are 5 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of resource-watcher is v1.1.0
Quality
resource-watcher has 0 bugs and 0 code smells.
Security
resource-watcher has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
resource-watcher code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
resource-watcher is licensed under the BSD-2-Clause License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
resource-watcher releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi has reviewed resource-watcher and discovered the below as its top functions. This is intended to give you an instant insight into resource-watcher implemented functionality, and help decide if they suit your requirements.
- Starts watching .
- Call the bindings for the given listener .
- Detect changes .
- Register a resource .
- Detects directory descendants
- Checks the tracked resources .
- Determine the binding for the given event .
- Bind to an event .
- Get the service provider .
- Get the resource .
Get all kandi verified functions for this library.
resource-watcher Key Features
No Key Features are available at this moment for resource-watcher.
resource-watcher Examples and Code Snippets
No Code Snippets are available at this moment for resource-watcher.
Community Discussions
No Community Discussions are available at this moment for resource-watcher.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install resource-watcher
To install Resource Watcher add it to the requires key of your composer.json file. Then update your project with composer update.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page