Skip to content

Composer, namespacing, PSR-0 autoloading #3

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

Merged
merged 4 commits into from
Oct 31, 2013
Merged

Composer, namespacing, PSR-0 autoloading #3

merged 4 commits into from
Oct 31, 2013

Conversation

igorw
Copy link
Contributor

@igorw igorw commented Sep 22, 2013

If you don't like all of this commit, you can apply a subset of the commits. But this is what I would recommend. If you merge this, please also submit it to Packagist.

@RobLoach
Copy link

Looks good.

@@ -15,6 +15,10 @@
* See the GNU Lesser General Public License for more details.
*/

require 'vendor/autoload.php';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not acceptable.

Do you know, lot of people still don't use composer ?
So the fcgiget command need to work without composer.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if (file_exists('vendor/autoload.php')
require 'vendor/autoload.php';
else
require 'Adoy/FastCGI/Client.php';

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@igorw
Copy link
Contributor Author

igorw commented Oct 9, 2013

Ping?

adoy added a commit that referenced this pull request Oct 31, 2013
Composer, namespacing, PSR-0 autoloading
@adoy adoy merged commit bb0e722 into adoy:master Oct 31, 2013
@adoy
Copy link
Owner

adoy commented Oct 31, 2013

Sorry about the delay :) I was really busy those last days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants