aldarien/root

Find the root path for your proyect

1.0.5 2017-08-25 22:17 UTC

This package is auto-updated.

Last update: 2024-04-12 03:37:23 UTC


README

get root directory path for your project

Usage

add Root::root('project') or root('project') or Root::root() or root() where you need the root directory of your proyect.

Example

For the structure:

/usr/share/www/projects
- myProject
-- src
-- tests

using Root::root('myProject')

outputs: /usr/share/www/projects/myProject