I
I
Igor2016-05-25 16:26:53
Laravel
Igor, 2016-05-25 16:26:53

Where is the right place to write packages for Laravel?

I want to write a small package for Laravel. Where is the best place to start writing? As I understand it, it must be written as part of the framework so that it is possible to write tests and inherit from the Laravel TestCase. Accordingly, there are 2 options left: vendora directory, which seems to me not a very good idea, or another place in the project.
Tell me, where are the development packages for Laravel usually stored?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2016-05-25
@ExileeD

Or store it separately from the project, then upload it to your project via composer.
Or create any folder (eg Library) in app and store it there.

M
Mokhirjon Naimov, 2016-05-27
@zvermafia

More practical in /vendor folder IMHO

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question