Comments (5)
Hi!
Sorry for not replying sooner, holidays and all :)
The problem is due to the dependency "illuminate/support": "4.x"
- and because Laravel 5 isn't stable yet, I'm not sure whether updating it is the only thing needed to support both 4 and 5, or whether we'll need separate branches for each.
If you know anything more, feel free to tell us, or send a PR - otherwise, we'll wait until L5 is officially released, in order to fix this.
Cheers!
from breadcrumbs.
Laravel is officially released. And I see pull request with update to this 5th version. Any chance you may review it? Update would be much appreciated, because I have some projects depended on this component.
from breadcrumbs.
Hey @sukonovs, I've just checked out the PR, and it has some problems, which I'll comment on in the PR itself.
However, I've given this some thought recently, and I'm not really sure at the moment whether it makes sense to have a package for both L4 and L5 at the same time - it seems a bit off to have a package check the framework version within its code, and execute code based on that. Additionally, I've never been completely satisfied that this is a Laravel-specific package, because the core class can certainly be used outside of Laravel (as described in the documentation).
I think a better idea might be to release a standalone breadcrumbs class as version 2.0.0 of this package, and then have separate packages such as creitive/laravel4-breadcrumbs
and creitive/laravel5-breadcrumbs
- which would basically be adapters for each of the framework versions. After that, someone using the package without Laravel could simply install creitive/breadcrumbs
(without the illuminate/support
cruft), and people using it within Laravel would install the appropriate "adapter" package instead.
What do you think about that approach?
I'll have to do some research on this though, because it might involve some potentially "dangerous" stuff, like changing this repository's URL, and I'm not sure if Packagist deals with that correctly.
from breadcrumbs.
I think spliting packages for each version makes sense. Many popular package devlopers are making new repos for l5.
from breadcrumbs.
@sukonovs Hi, sorry for the wait! We've released the new package that targets Laravel 5. The update process would be to remove the old package before installing the new one, ie.
composer remove creitive/breadcrumbs
composer require creitive/laravel5-breadcrumbs
Let me know if this works correctly for you.
I'll close this issue, as this package is now officially non-Laravel dependent, so if you have any problems with the Laravel 5 package, please open an issue in that repo.
Thanks!
from breadcrumbs.
Related Issues (10)
- Add phpunit as a dev dependency
- Add config file support for Laravel HOT 1
- Mention microdata markup support
- suggestion: Add support for chaining 'addCrumb' method. HOT 3
- Update defaults for Twitter Bootstrap 3 HOT 10
- List Item Classes and Bootstrap 4 HOT 1
- http://schema.org/BreadcrumbList to "https" HOT 1
- "Best Practices" for using this add on? HOT 10
- Bootstrap changes HOT 6
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 breadcrumbs.