composer outdated --direct ... This can help speeding up the process of finding related updates for installed dependencies
@papapilsen98282 жыл бұрын
Hooray! Thank you for sharing
@mrAzrarn2 жыл бұрын
Updating any framework is a good reason to write the missing tests first =)
@中国在年之前我们也 Жыл бұрын
i do the samee updating but i when i do laravel -v the terminal show me the old version of laravel "Laravel Installer 4.5.0" is that mean that my laravel is upgrading to the 9 and just it's not showing up on terminal or what i'm confused
@shopzyte Жыл бұрын
What are the terminal commands for updating an existing laravel vue project?
@sherwinm2 жыл бұрын
thanks for the video. this was actually pretty easy to upgrade from v8, at least on the first project i upgraded. i have another project that uses flysystem so it may take longer for the test i have to run.
@GergelyCsermely2 жыл бұрын
Thanks good to see how to investigate upgrade problems.
@papapilsen98282 жыл бұрын
Hooray! Thank you so much for sharing.
@eMebyMonicaMateu Жыл бұрын
Thanks for your video. I really like how you explain things ^^
@juanantonionavarrojimenez29662 жыл бұрын
Great work and thank you very much for your work.
@Yonas201022 жыл бұрын
Hi , I hope you are fine? How can I update php version in laravel project?
@LaravelDaily2 жыл бұрын
You need to update PHP version on the server, not in Laravel project. This depends on your server provider, please google "PHP version upgrade" or consult your hosting provider what versions they support and how to switch.
@piyapongkaewnan96752 жыл бұрын
Hi , I have a problem for upgrade 8 to 9 on windows , Can i fixed it? - spatie/laravel-backup[8.0.0, ..., 8.0.1] require ext-pcntl * -> it is missing from your system. Install or enable PHP's pcntl extension
@LaravelDaily2 жыл бұрын
Well the error is clear - you need to enable an extension to your PHP system
@piyapongkaewnan96752 жыл бұрын
@@LaravelDaily Thanks , I try to install php pcntl extension , How to enable it.
@kreaweb-be2 жыл бұрын
@@LaravelDaily This seems to be possible only on Linux based system, not on Windows.
@ricko132 жыл бұрын
In short: Don't upgrade yet until most packages add support for L9
@Rs3Audi2 жыл бұрын
thx for summarize
@smith45912 жыл бұрын
Yes, if you are using lot of 3rd party packages like me, worst case is you'll never able to upgrade.
@user-obyuzer2 жыл бұрын
@@smith4591 or you'lneed to fork it
@Maystro_eg2 жыл бұрын
you can install L9 then reconstruct from your L8 project
@MimisK882 жыл бұрын
Also good practice in the update, is the comparison with the repo. For the lumen we have no news. They have left it far behind...
@LaravelDaily2 жыл бұрын
Well, even Taylor himself doesn't recommend Lumen anymore: laravel-news.com/should-you-use-lumen-for-a-speed-boost
@raziuldev2 жыл бұрын
I don't like Lumen at all 😞 If you really want a lightweight framework then check out Slim micro framework, otherwise adopt Laravel ❤️
@justtestingmycurrentskills7472 жыл бұрын
Awesome Vid as always, Sir.
@tilorapa91 Жыл бұрын
Sir is it possible to upgrade laravel version 6 to 9 directly?
@LaravelDaily Жыл бұрын
No, there's no "direct" upgrade. Except if you create a new Laravel 9 project and just copy the functionality from the old one, step by step.
@JcBthug2 жыл бұрын
How do you have that menu on the bottom with models queries and other options ?
@LaravelDaily2 жыл бұрын
composer require barryvdh/laravel-debugbar
@JcBthug2 жыл бұрын
@@LaravelDaily thank you!!
@adityakadam22562 жыл бұрын
I had the error for Blade component. The component was inside another livewire component. Also the alpine's x-data was put on this blade component. I got the error of getIterator on array for views. The fix was to change the blade component to simple HTML tag and everything worked fine.
@fcolecumberri2 жыл бұрын
FINALLY!!! a mayor laravel release that doesn't makes me modify my automation scripts... Wait!... The "lang" directory changed place?... ¿Why?... "assertDeleted" was renamed?... god damn it! Ya en serio ¿que ganan moviendo el directorio de "lang"?
@debashischowdhury39902 жыл бұрын
Hi Sir, I have a project in laravel 5.4 and want to upgrade it to laravel 9. Can you please suggest how to do this? I am new to laravel and learning it. Thank you in advance.
@LaravelDaily2 жыл бұрын
With so many versions in between, I would probably create a new Laravel 9 project, and would copy the functionality piece by piece from the old project, fixing the syntax errors where needed. Or use laravelshift.com service and upgrade version by version.
@andywong22442 жыл бұрын
Povilas whats your personal rule when it comes to upgrading your laravel version? do you upgrade it the moment a new version arrives? or do you wait for a few months in order for the other packages to upgrade and catch up? and is it really needed to upgrade especially for small projects?
@LaravelDaily2 жыл бұрын
I usually wait at least a few months, if it's a major version. The main question is about the packages, when they release new versions.
@digadget2 жыл бұрын
my terminal update composer look fine,, but i check in TrustProxies say error for 5 header. "Undefined class constant 'HEADER_X_FORWARDED_HOST'.intelephense(1012)"
@lifecyclevlog2 жыл бұрын
@povilas, please make a video on the best way to manage currency in laravel. I am a yearly subscriber of your courses, let me know if its already available there, may be I missed. thanks
@LaravelDaily2 жыл бұрын
I don't think I talked about currency specifically anywhere, because, to be honest, I don't have enough practical experience with multi-currency projects. But maybe I would make some demo in the future, what exactly are the questions/problems about managing currency?
@fahnleindieselschweif50222 жыл бұрын
i am confused about the symfony 6 dependency. I thought, Laravel 9 needs it, but its coming out in autumn?
@LaravelDaily2 жыл бұрын
Yes, it came in autumn. Of 2021. symfony.com/releases/6.0
@fahnleindieselschweif50222 жыл бұрын
@@LaravelDaily Thank you for pointing me to wear my glasses! Missing a year isnt difficult these times 😀
@EL_PANDA_7422 жыл бұрын
Seems you're sick ... hope you get well soon.
@LaravelDaily2 жыл бұрын
Yeah, a little, thanks. It's quite funny that everyone is talking about COVID, but no one actually cancelled simple flu and getting cold :)
@abrpp2 жыл бұрын
Hi Povilas, since laravel can integrate with vue, react (inertia) and even now next.js (breeze). Will it be an integration with angular too? just curious.. thank you
@LaravelDaily2 жыл бұрын
I don't think so, from what I have been reading, Angular is kinda dying in usage
@abrpp2 жыл бұрын
@@LaravelDaily ok thank you for the info
@JediJide22 жыл бұрын
Thanks for the walkthrough. My attempt to upgrade from 8 to 9 gave me a really weird Illuminate/support error. "illuminate/support[v7.0.0, ..., v7.28.4] require php ^7.2.5 -> your php version (8.0.12) does not satisfy that requirement."
@LaravelDaily2 жыл бұрын
Look through other errors, probably some package requires illuminate/support v7 and you need to upgrade that package version.
@JediJide22 жыл бұрын
@@LaravelDaily - Yes, thank you. "facade/ignition": "^2.5" needed to be replaced with "spatie/laravel-ignition": "^1.0". It solved the issue.
@Meister2562 жыл бұрын
@@JediJide2 I had exactly the same problem like you, i replaced this package, i run composer update (all works fine), and after that i become a new error "Class "Facade\Ignition\IgnitionServiceProvider" not found" I get this error always, every time that i run an artisan command or i try to view the site in the explorer. Any idea? Thank you!
@Meister2562 жыл бұрын
@@LaravelDaily Hi hi!, ty so much for the tutorial. After i replace the ignition package, i get this error: "Class "Facade\Ignition\IgnitionServiceProvider" not found" I use this packages: "require": { "php": "^8.0", "ext-json": "*", "ext-simplexml": "*", "guzzlehttp/guzzle": "^7.2", "laravel/framework": "^9.0", "laravel/tinker": "^2.7" }, "require-dev": { "spatie/laravel-ignition": "^1.0", "fzaninotto/faker": "^1.9.1", "laravel/ui": "^3.4.3", "mockery/mockery": "1.4.4", "nunomaduro/collision": "^6.1", "phpunit/phpunit": "^9.5.10" }, Do you know where can be the problem? Thank you!!
@llBestBoyll2 жыл бұрын
Nice video man 🔥
@two-zero2 жыл бұрын
Thank you for this tutorial! :)
@alimurtaza52952 жыл бұрын
Which editor or ide your are using?
@LaravelDaily2 жыл бұрын
PhpStorm
@alimurtaza52952 жыл бұрын
@@LaravelDaily From where I can get it free crack? and also which server you are using? xammp???
@jatinchauhan3232 жыл бұрын
Can anyone know how to encode your primary id in resource routes
@uxweb2 жыл бұрын
You can use an additional UUID field on your tables that can be exposed in public
@g3z2 жыл бұрын
to discover outdated dependencies you can use composer outdated --direct
@stefik42 жыл бұрын
Nice video @LaravelDaily! All packages are updated on my side but i can not serve the program :( php artisan serve In Application.php line 751: Class "Facade\Ignition\IgnitionServiceProvider" not found it comes from: vendor/livewire/livewire/src/LivewireServiceProvider.php Am i doing something wrong ? :/
@LaravelDaily2 жыл бұрын
Googled it for you, try these solutions: stackoverflow.com/questions/62725380/laravel-error-class-facade-ignition-ignitionserviceprovider-not-found
@stefik42 жыл бұрын
@@LaravelDaily I've tested it before - no results :( The same error :( Already removed It might be related with required to use vite instead of mix ?
@LaravelDaily2 жыл бұрын
Not sure, can't debug it for you
@lifecyclevlog2 жыл бұрын
We can see two exceptions in laravel debugbar, please check them and let us know. 💝
@LaravelDaily2 жыл бұрын
Good catch! Those are: 1. Cannot add MailCollector to Laravel Debugbar: Method Illuminate\Mail\Mailer::getSwiftMailer does not exist. 2. Method Illuminate\Mail\Mailer::getSwiftMailer does not exist. And yes, it's related to mailer changes that are well documented in the upgrade guide, I just don't use emails in this project so it wasn't really a visual problem here.
@lifecyclevlog2 жыл бұрын
They just released a temp version to disable it.
@jamshidbekyuldoshev75422 жыл бұрын
Nice as always, Thanks
@Andrejs312 жыл бұрын
In my work I frequently need to write custom php scripts to do certain things and installing laravel project to make one command seems not the best practice. Can you make a video explaining how you would structure the whole directory, what packages would you use to make things simpler? Usually if I work with laravel then I know where to put the logic but if I work with plain php I dont know where to put the php files and the whole project becomes a mess. The most frequently I need a oracle,mysql or other type of database connection to select data and then I need to parse them and either write the result to database, log file or mail it. Ideally I would like to have migrations, dd() with ignition package, mailing done easy with templates and readable console output with coloring.
@LaravelDaily2 жыл бұрын
I don't work with plain PHP scripts or projects, so I'm following the default Laravel structure for everything
@saeeedkhan2 жыл бұрын
Sir you are great.
@ALiHameedAlHashemi2 жыл бұрын
fideloper/proxy : Laravel 9 has incorporated this package into the core of Laravel.
@saravanasai23912 жыл бұрын
again really a good content sir thank you . On this week sat car video i request you to speak about job market for laravel developers & having really a lot of confusions on which tech stack to choose Like Live-wire or vue with laravel or react with laravel or else choosinh new laungage like node.js for career development . Really i think it make all other juniour developers are also got mind fogged by this . so share your opinion on what was the market status
@LaravelDaily2 жыл бұрын
kzbin.info/www/bejne/h5PTqIyKqMiVeLs I already have such video
@Flankymanga2 жыл бұрын
Thanks for sharing!
@saicharandogiparthi57442 жыл бұрын
how to upgrade from laravel 5.6 to laravel 9
@DeTechDivus2 жыл бұрын
On installation it is still 8.61
@hakhagmon2 жыл бұрын
thx!
@nikza19362 жыл бұрын
Thanks a lot.
@madanmalhotra2 жыл бұрын
in real world upgrade never works on large applications, where you used many pakages. one package depended on another package. better install clean laravel 9.