project

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotAnLaravelProject = errors.New("not a laravel project")

Functions

This section is empty.

Types

type Project

type Project struct {
	// contains filtered or unexported fields
}

Project encapsulates the runtime details needed to execute PHP code and retrieve information from a Laravel project.

func New

func New(rootPath string) (*Project, error)

New initializes a new project by analyzing the project in rootPath and finding a suitable php process.

func (Project) AppBindings

func (project Project) AppBindings() (repository.AppRepository, error)

AppBindings retrieves the application bindings repository in the project

func (Project) Configs

func (project Project) Configs() (repository.ConfigRepository, error)

Configs retrieves the configuration repository in the project

func (Project) Process

func (project Project) Process() *runtime.PHPProccess

RootPath returns the php process for the project

func (Project) RootPath

func (project Project) RootPath() string

RootPath returns the root path for the project

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL