Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add composer to manage third party libraries and autoloading. #2907

Closed
euantorano opened this issue Nov 18, 2017 · 1 comment
Closed

Add composer to manage third party libraries and autoloading. #2907

euantorano opened this issue Nov 18, 2017 · 1 comment
Assignees
Labels
b:1.9 Branch: 1.9.x t:enhancement Type: Enhancement. Contains minor improvements
Milestone

Comments

@euantorano
Copy link
Member

We currently manage third party dependencies by downloading the sources and copying them into the inc/3rdparty directory. This is a time consuming effort and causes libraries to only be updated when a contributor takes the time to visit the site for each dependency and realise that there is an updated version available.

The composer project provides a dependency manager for PHP projects. This allows us to specify any 3rd party dependencies in a simple JSON file, and install and update them easily using the composer command line utility. It also generates autoload files to automatically load classes and functions from these third party libraries, as well as our own core classes.

@euantorano euantorano created this issue from a note in MyBB 1.10 (Enhancements) Nov 18, 2017
@euantorano euantorano self-assigned this Nov 18, 2017
@euantorano euantorano added b:1.10 Branch: 1.10.x t:enhancement Type: Enhancement. Contains minor improvements labels Nov 18, 2017
euantorano added a commit that referenced this issue Nov 24, 2017
* Adding a composer configuration file for the project, with no defined dependencies.

* Rquire autoload file

Signed-off-by: Euan Torano <euantorano@gmail.com>

* Removing global.php from files to autoload
euantorano added a commit that referenced this issue Dec 11, 2017
* Adding a composer configuration file for the project, with no defined dependencies.

* Rquire autoload file

Signed-off-by: Euan Torano <euantorano@gmail.com>

* Removing global.php from files to autoload
euantorano added a commit that referenced this issue Mar 16, 2018
* Adding a composer configuration file for the project, with no defined dependencies.

* Rquire autoload file

Signed-off-by: Euan Torano <euantorano@gmail.com>

* Removing global.php from files to autoload
@euantorano euantorano added this to the 1.9.0 milestone Dec 4, 2018
@euantorano euantorano added b:1.9 Branch: 1.9.x and removed b:1.10 Branch: 1.10.x labels Dec 4, 2018
@euantorano
Copy link
Member Author

This is implemented in 1.9 already.

@euantorano euantorano removed this from Enhancements in MyBB 1.10 Dec 4, 2018
euantorano added a commit to euantorano/mybb that referenced this issue Mar 23, 2019
* Adding a composer configuration file for the project, with no defined dependencies.

* Rquire autoload file

Signed-off-by: Euan Torano <euantorano@gmail.com>

* Removing global.php from files to autoload
euantorano added a commit to euantorano/mybb that referenced this issue Mar 23, 2019
* Adding a composer configuration file for the project, with no defined dependencies.

* Rquire autoload file

Signed-off-by: Euan Torano <euantorano@gmail.com>

* Removing global.php from files to autoload
euantorano added a commit that referenced this issue Jun 2, 2019
* Adding a composer configuration file for the project, with no defined dependencies.

* Rquire autoload file

Signed-off-by: Euan Torano <euantorano@gmail.com>

* Removing global.php from files to autoload
euantorano added a commit that referenced this issue Jun 2, 2019
* Adding a composer configuration file for the project, with no defined dependencies.

* Rquire autoload file

Signed-off-by: Euan Torano <euantorano@gmail.com>

* Removing global.php from files to autoload
@euantorano euantorano mentioned this issue Jan 4, 2020
@dvz dvz added this to 1.9 in Development Roadmap Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
b:1.9 Branch: 1.9.x t:enhancement Type: Enhancement. Contains minor improvements
Development

No branches or pull requests

1 participant