Comments (3)
@owenvoke I need the Laravel plugin because I'm used to its helpers. Of course, I can live without it, but it's a comfort :)
Anyway, I was wondering how such conflict situations are resolved (if there is a solution or not).
Thanks
from laravel-zero.
@eleftrik I came across the same warning and adding the Laravel framework lib to the exclude-from-classmap
suppressed the warnings for me.
"autoload": {
"exclude-from-classmap": [
"vendor/laravel/framework/src/Illuminate/"
],
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
I installed spatie/laravel-queueable-action which also requires the Laravel Illuminate library, but Zero already installs a mirrored Illuminate library. The warning is that they're both using the same namespaces and Composer complains about it when generating the autoloader.
Ideally it would be best to not install the duplicate library at all, but I'm not sure if that is possible from the Composer file?
Although, are you sure you need the Laravel plugins package? Just out of curiosity, what does that plugin lib have that Zero doesn't already come pre-packaged?
from laravel-zero.
Yeah, this happens because it installs laravel/framework
, which laravel-zero/framework
conflicts with.
I don't think there's actually much reason to add the Laravel plugin for Pest within a Laravel Zero application. I think either we need a separate Laravel Zero Pest plugin, or you'll need to develop without the helper functions that plugin provides (which really isn't that much).
from laravel-zero.
Related Issues (20)
- Undefined constant "SIGINT" HOT 2
- Failed to open stream: phar error: Cannot open phar archive
- Consider using Laravel Prompts HOT 3
- New Project doesn't work "Undefined variable $command" HOT 2
- [BUG] self-update from github releases not working HOT 1
- Cannot find sqlite database when upgrading HOT 3
- app:build ErrorException rename(app.phar, builds/app): the system cannot find the file specified (code 2) HOT 3
- Failing builds: "database/factories" and "database/seeders" was expected to exist HOT 1
- app:build gives the error: The system cannot find the file specified (code: 2) HOT 4
- Why is package auto-discovery is off ? HOT 4
- Site https://laravel-zero.com is down HOT 1
- website down/expired. Is this project still being worked on? HOT 1
- Website is down - domain expired? HOT 3
- laravel-zero.com is down HOT 1
- Website is not working anymore http://laravel-zero.com/ HOT 3
- Global Composer installation without commiting binary to version control?
- Using DB pagination methods inside a command throws an exception HOT 1
- On Windows, when running app:build "impossible find specified file" HOT 5
- QUEUES Call to undefined method Psr\Log\NullLogger::driver()
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 laravel-zero.