Skip to content

Danielopes7/php-contributing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Contributing [WIP]

golang
Welcome to the PHP Contributing project! This project aims to provide a friendly way to find new open source tasks to contribute to.

Table of Contents

About the Project

PHP Contributing is designed to help new contributors find beginner-friendly issues in open source projects, making it easier to start contributing to the open source community.

Getting Started

  1. Clone the repository:

    git clone https://github.com/Danielopes7/php-contributing.git
    cd php-contributing

    Copy the example environment file and set up the environment variables:

  2. Copy the example environment file and set up the environment variables:

    cp .env.example .env
  3. Install dependencies using Composer:

    composer install

Local Setup🔧

  1. Generate the application key and run database migrations:

    php artisan key:generate
    php artisan migrate
  2. Install front-end dependencies and start the development environment:

    npm install
    npm run dev
  3. Start the Laravel development server:

    php artisan serve

    Visit http://localhost:8000 to see the application in action.

Docker Setup with Sail🐳

If you prefer running the project in Docker using Laravel Sail, follow these steps:

  1. Build and start the Docker container using Laravel Sail:

    ./vendor/bin/sail up
    ./vendor/bin/sail artisan key:generate
    ./vendor/bin/sail artisan migrate
    ./vendor/bin/sail npm install
    ./vendor/bin/sail npm run dev

    Visit http://localhost to see the application in action.

Authentication Configuration (GitHub)🔐

Before running the project, you need to configure authentication settings for GitHub.

This project uses Laravel GitHub to interact with the GitHub API. Laravel GitHub requires connection configuration.

To get started, you'll need to publish all vendor assets:

$ php artisan vendor:publish --provider="GrahamCampbell\GitHub\GitHubServiceProvider"

This will create a config/github.php file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.

There are two config options:

Default Connection Name

This option ('default') is where you may specify which of the connections below you wish to use as your default connection for all work. Of course, you may use many connections at once using the manager class. The default value for this setting is 'main'.

GitHub Connections

This option ('connections') is where each of the connections are setup for your application. Example configuration has been included, but you may add as many connections as you would like. Note that the 5 supported authentication methods are: "application", "jwt", "none", "private", and "token".

HTTP Cache

This option ('cache') is where each of the cache configurations setup for your application. Only the "illuminate" driver is provided out of the box. Example configuration has been included.

Contributing

We welcome contributions from the community!

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

If you have any questions or feedback, feel free to reach out by creating an issue in the repository.

About

Friendly way to find new open source tasks to contribute

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •