public function dependsPackage(Request $request)
    {
        $package = $request->get('needle');
        $constraint = $request->get('constraint', '*');

        try {
            $response = $this->manager()->dependsPackage($package, $constraint);
        } catch (\Exception $e) {
            return $this->getJsonException($e);
        }

        return $this->json($response);
    }