Welcome Guest, Not a member yet? Register   Sign In
Bays - Easy "widgets" for your views

(10-15-2015, 11:32 AM)Kulavert Wrote: Is it possible to use Bay within CodeIgniter2 environment? What modifications should I make in Bay's source code?

Since it's loaded via Composer, you'd first have to get that working with your CI2 environment. In the past, I did this by copying the relevant code from CI3, which is in /system/core/CodeIgniter.php.

After that, it looks like it should work, but you may need to implement a CacheInterface and LibraryFinderInterface for CI2. You could probably use the supplied CI3 implementations as a starting point for CI2 (in fact, they may work for CI2 without modification, but I'm not 100% sure on that).

Messages In This Thread
RE: Bays - Easy "widgets" for your views - by mwhitney - 10-16-2015, 09:51 AM

Theme © iAndrew 2016 - Forum software by © MyBB