Creating Common Library for PHP Projects?

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Creating Common Library for PHP Projects?

Postby pcpaukm » December 7th, 2016, 3:20 am

Is there a way to do that?
I want to create a Common Library i.e. DataAccess that wrap all the data access code and models.
Then I want to share this library with all other PHP project.

Thanks in advance,
King
pcpaukm
 
Posts: 4
Joined: November 17th, 2015, 7:51 am

Re: Creating Common Library for PHP Projects?

Postby Jakub Misek » January 9th, 2017, 8:19 am

Hi,

Yes you can create either a composer package https://getcomposer.org/ in case you'd like to have your library public, or, a separate project in VS and add project references to it from your other projects.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 51 guests

cron

User Control Panel

Login

Who is online

In total there are 51 users online :: 0 registered, 0 hidden and 51 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 51 guests