You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create a Gitlab Client to talk with the API$client = newClient('project-id', 'branch', 'base-url', 'personal-access-token');
// Create the Adapter that implements Flysystems AdapterInterface$adapter = newGitlabAdapter(
// Gitlab API Client$client,
// Optional path prefix'path/prefix',
);
// The FilesystemOperator$filesystem = newLeague\Flysystem\Filesystem($adapter);
// see https://flysystem.thephpleague.com/api/ for full list of available functionality
Project ID
Every project in Gitlab has its own Project ID. It can be found at to top of the frontpage of your repository. See
Base URL
This will be the URL where you host your gitlab server (e.g. https://gitlab.com)
Access token (required for private projects)
Gitlab supports server side API authentication with Personal Access tokens
For more information on how to create your own Personal Access token: Gitlab Docs
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Contributions are welcome and will be fully credited. We accept contributions via Pull Requests on Github.