Comments (5)
I have great news for you π getkirby/kirby#2829
from kirby-blade.
Ah, now I saw the issue on the Kirby Forum - should I close this one?
For posterity - the issue is that if the composer creates an autoloader where kirby's e()
function isn't created first, PHP will fail with FATAL_ERROR
.
Since you can't force the composer to use a load order AFAIK, the only solution seems to be to download this plugin to site/plugins or use git submodule as a way of includeing this plugin.
from kirby-blade.
as @lukasbestle said on forum:
Unfortunately no. Libraries that define the same helpers are not compatible with each other.
https://forum.getkirby.com/t/problem-using-blade-plugin/14853/28
only solution seems to be to download this plugin to site/plugins or use git submodule as a way of includeing this plugin.
Exactly!
from kirby-blade.
@afbora Do you think it's possible to just⦠not add the helpers? I'm not familiar enough with this codebase, but as I see it, composer installation right now just isn't really a viable option, since you can't ensure the order, right?
What actually uses the illuminate/support/helpers? Something internal, or is it available in templates? Otherwise, It'll be good idea to put a warning somewhere in the readme, I think. (I can PR that)
from kirby-blade.
π’
from kirby-blade.
Related Issues (20)
- No stack trace when errors are thrown HOT 2
- Add support for snippet templates HOT 3
- Is it possible to register/use components? HOT 13
- Redeclared function error HOT 2
- Nolt Test
- New Feature
- New Test
- Custom directives only receive one argument HOT 2
- 3.7 Compatibility HOT 7
- Use Laravel Blade templates in Plugin HOT 3
- Broken HTML minification HOT 4
- Option `doMakeSameDomainsLinksRelative` requires array, not boolean HOT 1
- Removing HTML Minify HOT 1
- Template views using dot notation don't work
- NotFoundException (error.template.default.notFound)
- Autoloading order with composer HOT 1
- Improvement HTML minify HOT 1
- Few filters feature HOT 1
- Illuminate\View\View::__toString() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kirby-blade.