Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Paths in laravel 4.x

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 101
    Comment on it

    There are n number of functions in laravel 4.x which is used to define path that are

    app_path:

    app_path is a function which is used to get the fully qualified path of the app directory.

    Example:

    $path = app_path();
    

    base_path:

    base_path is a function which is used to get the fully qualified path of the root of the application install.

    Example:

    $path = base_path();
    

    storage_path:

    storage_path is a function which is used to get the fully qualified path of the app/storage directory.

    Example:

    $path = storage_path();
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: