I want to install https://github.com/davejamesmiller/laravel-breadcrumbs
on Laravel 5.4.
The link above is for Laravel 5.5. (package version 4.x)
So I go to https://github.com/davejamesmiller/laravel-breadcrumbs/tree/3.x for package version 3.x but I can see that it recommends to install package the same way as it's installed for L 5.5. via:
composer require davejamesmiller/laravel-breadcrumbs
when I run this, I got a mistake:
Anybody can help me on how to install it's version 3.x?
Thanks in advance!
UPD: I see the package's author also created a separate for for 3.x version here:
https://github.com/maddhatter/laravel-breadcrumbs but I still don't understand how to install it for Laravel 5.4....
So figured it out myself. You need just run this command:
composer require davejamesmiller/laravel-breadcrumbs:3.*
and it will install https://github.com/davejamesmiller/laravel-breadcrumbs/tree/3.x
Hope it helps someone:)
Actually if you are using other versions, just read carefully table below, and follow the link according to your Laravel version
<table>
<thead>
<tr>
<th>Laravel Breadcrumbs</th>
<th>Laravel</th>
<th>PHP</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>5.x</strong></td>
<td>5.6</td>
<td>7.1+</td>
</tr>
<tr>
<td>4.x</td>
<td>5.5</td>
<td>7.0+</td>
</tr>
<tr>
<td>3.x</td>
<td>5.0 – 5.4</td>
<td>5.4+</td>
</tr>
<tr>
<td>2.x</td>
<td>4.0 – 4.2</td>
<td>5.3+</td>
</tr></tbody></table>
Related
I've been trying to set up a project in Laravel 5.7 and one of the requirements is that it need to have MDBootstrap and Vue.js. I tried following the official guide for installing MDB Vue as a dependency using
npm install --save mdbvue
but now according to the guide, now I need to add 2 imports
import 'bootstrap-css-only/css/bootstrap.min.css';
import 'mdbvue/build/css/mdb.css';
before importing the app.vue file but I'm not sure how to do this in the laravel (5.7) environment.
First, I can't find the location of the URLs of the imports above. And second, where am I suppose to place these imports?
If anyone has done this setup before, would appreciate any guidance.
Thanks
After digging into the errors this is the solution I found.
The import are already done for you so that step can be skipped the missing step was to do npm install --save-dev babel-preset-stage-2 with this everything worked fine for me
I'm a newbie laravel.
Currently, Laravel had released version 5.6, but my version is 5.5.32.
And some reason, I only want to updating to 5.5.39 from 5.5.32 and do not upgrade 5.6.
I run "composer update", I see a error message.
So pls help me.
Thank you
If you want to update laravel framework to a specific version than you can easily do it as follows:-
Go to your composer.json file
There you will see in the "require" section as follows "laravel/framework": "5.5.32.*"
you just need to change it to "laravel/framework": "5.5.39.*"
save the composer.json and run composer update.
That's it. composer will read require from composer.json and update your packages likewise.
Hope this helps.
I tried to create laravel project in netbeansIDE 8.2. but i am getting error.I create laravel project using composer
composer create-project laravel/laravel TestLaravelProject --prefer-dist
After create laravel project i tried to open vie a netbeansIDE. after i open that project i got error (unresolved project problem fixed by "Resolved Project Problem")
i tried this way also but it getting error.
Netbeans 8.0 Composer with Laravel 5
how can i create laravel project in netbeansIDE? can you help me?
Thank you.
view this repository:
https://gist.github.com/barryvdh/5227822
Put within your app folder.
Here you can access to entire repo: https://github.com/barryvdh/laravel-ide-helper
Hope it helps you.
I was trying to install the package of HOA/Websockets in my Laravel 5 website,
from following link
https://laracasts.com/discuss/channels/tips/hoawebsocket-with-laravel-5-projects-push-notifications
But when I added the
"require": {
"hoa/websocket": "~2.0"
}
In my composer and ran
composer install
But in my command prompt it says nothing to be installed. Can any one help me out with this, Please?
Also when I try to do
composer require "hoa/websocket": "~2.0"
it is uninstalling some of the packages and not installing it back.
Well I fixed it this way
Just copied the new package that was installed inside the Vendor folder which was vendors/HOA,
Then I pasted in my older backup of the vendor folder and pasted it back inside my website and VOILA!! it works
Hope it helps some one needy
Thanks
i figured out too late that way generators version 3 package is not compatible with laravel version 4.2 it only work with laravel 5, now i need to switch to a previous version of the package and i do not know how to do it properly as my laravel project is in the half way.
Thank you so much for any further help
Update your composer.json file to use "way/generators": "~2.0". Once that is done, run the following command:
composer update "way/generators" --dev
By providing the package name to the composer command, composer will only update the specified package.