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);
    }
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);
    }
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 ) ; }
Find "depends" package dependencies.

@param Request $request

@return JsonResponse
Find depends package dependencies .