Download the PHP package ahmedhsieb/laravel-git-manager without Composer

On this page you can find all versions of the php package ahmedhsieb/laravel-git-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-git-manager

Laravel Git Manager

Latest Version Total Downloads License

A complete, production-ready Git management interface for Laravel applications. Manage your repository through a beautiful web interface without ever touching the terminal.

✨ Features

🎯 Core Git Operations

🚀 Advanced Features

🔐 Security Features

🎨 User Experience

📋 Requirements

🚀 Installation

Step 1: Install Package

The package will be automatically discovered by Laravel.

Step 2: Run Setup Wizard

The interactive setup wizard will ask you for:

  1. Git Username - Your GitHub/GitLab/Bitbucket username
  2. Personal Access Token - Your Git provider token
  3. User Name - Name that appears in commits
  4. User Email - Email that appears in commits
  5. Access Password - Password to protect the web interface

Step 3: Generate Personal Access Token

GitHub

  1. Go to https://github.com/settings/tokens
  2. Click "Generate new token (classic)"
  3. Give it a name: "Laravel Git Manager"
  4. Select scopes: ✅ repo (Full control of private repositories)
  5. Click "Generate token"
  6. Copy the token (save it - you won't see it again!)

GitLab

  1. Go to https://gitlab.com/-/profile/personal_access_tokens
  2. Create new token
  3. Select scopes: api, read_repository, write_repository
  4. Create and copy the token

Bitbucket

  1. Go to https://bitbucket.org/account/settings/app-passwords/
  2. Create app password
  3. Select permissions: Repositories (Read, Write, Admin)
  4. Create and copy the password

Step 4: Access Git Manager

Visit: http://your-domain.com/git-manager

Login with the password you set during setup.

🎯 Usage

Web Interface

Basic Workflow

  1. Click "Pull" to get latest changes
  2. Make your code changes
  3. Type a commit message
  4. Click "Add + Commit + Push"

Branch Management

Custom Commands

Execute any git command:

Execute any artisan command:

Command Line

Update Configuration

Check Status

⚙️ Configuration

Publishing Configuration File

This creates config/git-manager.php where you can customize:

Environment Variables

Add to your .env file:

Custom Route Prefix

Change the URL prefix in .env:

Access at: http://your-domain.com/admin/git

Additional Middleware

Add authentication or other middleware:

Publishing Views

To customize the views:

Views will be published to resources/views/vendor/git-manager/

🔒 Security

Password Protection

The interface is protected by a password set during setup. Passwords are bcrypt hashed and never stored in plain text.

Session Management

Sessions expire after 2 hours (configurable). Users must login again after expiration.

IP Whitelisting

Add IP restrictions by modifying your routes:

Dangerous Commands

Dangerous commands like rm, clean -fd, and reset --hard HEAD~ are blocked automatically.

📝 API Endpoints

All endpoints require authentication via password-protected session.

Repository Info

Operations

Branch Management

Advanced

🐛 Troubleshooting

"Setup Required" Page Shows

Run the setup command:

"Authentication Failed" on Push/Pull

  1. Check token is valid: Visit GitHub → Settings → Tokens
  2. Verify token has repo scope
  3. Update token:

"Please tell me who you are" Error

Configure git user:

Or manually:

Permission Denied

Give web server write access:

Commands Timeout

Increase timeout in .env:

Views Not Loading

Clear cache:

Routes Not Working

Clear route cache:

💡 Tips & Best Practices

Commit Messages

Use clear, descriptive commit messages:

Branch Naming

Follow a consistent naming convention:

Workflow

  1. Always pull before starting work
  2. Create a feature branch for new work
  3. Commit frequently with clear messages
  4. Push regularly to backup your work
  5. Merge when feature is complete

Safety

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

This package is open-sourced software licensed under the MIT license.

👨‍💻 Author

Ahmed Osama

🙏 Acknowledgments

📊 Stats

GitHub stars GitHub forks GitHub watchers

🔗 Links

💬 Feedback

If you have any feedback, please reach out to me at [email protected]

If you find this package helpful, please consider giving it a ⭐ on GitHub!


All versions of laravel-git-manager with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
symfony/process Version ^5.0|^6.0|^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ahmedhsieb/laravel-git-manager contains the following files

Loading the files please wait ...