resource_path

The resource_path function returns the fully qualified path to your application's resources directory. You may also use the resource_path function to generate a fully qualified path to a given file within the resources directory:
<?php $path = resource_path();

$path = resource_path('sass/app.scss');
<?php     |




    'forms' => resource_path('forms'),




    |--------------------------------------------------------------------------
<?php     'paths' => [

        base_path('content'),

        base_path('users'),

        resource_path('blueprints'),

        resource_path('fieldsets'),

        resource_path('forms'),

        resource_path('users'),
<?php         base_path('content'),

        base_path('users'),

        resource_path('blueprints'),

        resource_path('fieldsets'),

        resource_path('forms'),

        resource_path('users'),

        storage_path('forms'),
<?php         base_path('users'),

        resource_path('blueprints'),

        resource_path('fieldsets'),

        resource_path('forms'),

        resource_path('users'),

        storage_path('forms'),

    ],
<?php         resource_path('blueprints'),

        resource_path('fieldsets'),

        resource_path('forms'),

        resource_path('users'),

        storage_path('forms'),

    ],
<?php             'driver' => 'file',

            'paths' => [

                'users' => base_path('users'),

                'roles' => resource_path('users/roles.yaml'),

                'groups' => resource_path('users/groups.yaml'),

            ],

        ],
<?php             'paths' => [

                'users' => base_path('users'),

                'roles' => resource_path('users/roles.yaml'),

                'groups' => resource_path('users/groups.yaml'),

            ],

        ],
<?php     public function roleRepository()

    {

        return app($this->roleRepository)->path(

            $this->config['paths']['roles'] ?? resource_path('users/roles.yaml')

        );

    }
<?php     public function userGroupRepository()

    {

        return app($this->userGroupRepository)->path(

            $this->config['paths']['groups'] ?? resource_path('users/groups.yaml')

        );

    }
<?php         if ($basePath == $this->laravel['path'] && $this->files->exists(resource_path('assets/js'))) {

            $basePath = resource_path('assets/js');

        }
<?php         if ($basePath == $this->laravel['path'] && $this->files->exists(resource_path('assets/js'))) {

            $basePath = resource_path('assets/js');

        }
<?php         elseif ($basePath == $this->laravel['path']) {

            $basePath = resource_path('js');

        }
<?php     protected function clearForms()

    {

        $this->files->deleteDirectory(resource_path('forms'));

        $this->files->deleteDirectory(storage_path('forms'));



        $this->info('Forms cleared successfully.');
<?php     protected function clearGroups()

    {

        $this->files->put($this->preparePath(resource_path('users/groups.yaml')), <<<EOT

# admin:

#   title: Administrators

#   roles:
<?php     protected function clearRoles()

    {

        $this->files->put($this->preparePath(resource_path('users/roles.yaml')), <<<EOT

# admin:

#   title: Administrator

#   permissions: