Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 4, 2024 via composer

nette/finder v3.0.0

πŸ” Nette Finder: find files and directories with an intuitive API.
Package summary
Share
2
issues
2
high severity
license
2
1
license
2
(BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only)
Package created
20 Mar 2014
Version published
14 Dec 2022
Maintainers
1
Total deps
2
Direct deps
1
License
BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only

Issues

2

2 high severity issues

high
Recommendation: Validate that the license expression complies with your license policy
via: nette/finder@v3.0.0
Recommendation: Validate that the license expression complies with your license policy
via: nette/utils@v4.0.4
Collapse
Expand

Licenses

(BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only)

Expression
2 Packages, Including:
nette/finder@v3.0.0
nette/utils@v4.0.4
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of nette/finder 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
nette/utilsv4.0.461.98 kB(BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only)
prod
1

Visualizations

Frequently Asked Questions

What does nette/finder do?

The Nette Finder is a powerful tool for swiftly finding files and directories through an intuitive API. Whether you're trying to navigate a complex directory structure or simply looking for a single file among the clutter, Nette Finder has been streamlined to make the process as straightforward as possible. You'll find that tasks you used to dread are now executed with ease.

How do you use nette/finder?

To utilize Nette Finder, you need to have it installed via Composer(require nette/finder). Here is an example of how to use it:

use Nette\Utils\Finder;

// Find all jpg, png, and gif images in the current directory 
$images = Finder::findFiles('*.jpg', '*.png', '*.gif')->from(__DIR__);

foreach ($images as $image) {
   echo "Image Found: " .$image ."\n";
}

This simple script will look for all JPEG, PNG, and GIF files in the current directory and print out their relative paths.

You can also search for directories:

$dirs = Finder::findDirs('test-dir')->from('/path/to/search');
foreach ($dirs as $dir) {
    echo "Directory Found: " .$dir."\n";
}

These are just the basics - Nette Finder houses a variety of powerful functionalities that cater to advanced needs.

Where are the nette/finder docs?

For an exhaustive guide on how to leverage the Nette Finder to its full potential, you can reference the official documentation. Please note that the library has been moved to the nette/utils namespace, so make sure to update your project dependencies to avoid any interruptions.