Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Is it possible to use latte without composer ? #348

Closed
danaoairuike opened this issue Nov 1, 2023 · 2 comments
Closed

Is it possible to use latte without composer ? #348

danaoairuike opened this issue Nov 1, 2023 · 2 comments

Comments

@danaoairuike
Copy link

danaoairuike commented Nov 1, 2023

  • Explain your intentions

Hi, I'm building a little framework ( customized CMS) for myself. And I don't intend to use composer. I have a simple autoloader.
So, I'd like to know that whether I can just copy the directory of https://github.com/nette/latte/tree/master/src/Latte , since it seems Latte does not have any external dependency.
Thanks

  • It's up to you to make a strong case to convince the project's developers of the merits of this feature

  • Please support my efforts in maintaining this project at https://github.com/sponsors/dg

@MartinMystikJonas
Copy link

It should be possible but you would have to make your own implementation of classmap autoloader or use something like robot loader. Your "simple autoloader" probably would not work.

Honestly I do not understand why do you want to go for such complications instead of simply using composer.

@dg
Copy link
Member

dg commented Nov 1, 2023

You can use this autoloader. But Composer is better way to use libraries today.

@nette nette locked and limited conversation to collaborators Nov 2, 2023
@dg dg converted this issue into discussion #349 Nov 2, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants