hi
i have site woth slim 3.0
how i update to 3.5
and if when i update i can to get a problem with my code now?
hi
i have site woth slim 3.0
how i update to 3.5
and if when i update i can to get a problem with my code now?
Can you show us your composer.json file?
I just did a âcomposer updateâ and everything still works. Iâd say make a backup (just to be sure) and give it a try.
ârequireâ: {
âvlucas/phpdotenvâ: â^2.0â,
âslim/slimâ: â^3.0@RCâ,
âslim/twig-viewâ: â^2.0â,
âslim/csrfâ: â^0.4.0â,
âcartalyst/sentinelâ: â2.0.",
âilluminate/databaseâ: â^5.1â,
âilluminate/eventsâ: â^5.1â,
âsymfony/http-foundationâ: â^2.7â,
âslim/flashâ: â^0.1.0â,
âtwig/extensionsâ: â^1.3â,
âfacebook/php-sdk-v4â: â^5.0â,
âcodeguy/uploadâ: âdev-masterâ,
âabraham/twitteroauthâ: â^0.6.1â,
âgoogle/apiclientâ: "1.0.@betaâ,
âezyang/htmlpurifierâ: â^4.7â,
âcocur/slugifyâ: â^1.4â,
âcartalyst/tagsâ: â2.0.",
âbaum/baumâ: â~1.1â,
âparagonie/random_compatâ: â^1.1â,
âcodeguy/arachnidâ: "1.â,
ânicolaslopezj/searchableâ: â1.*â
},
Ok, first of all do a backup of everything.
Change your composer.json in order to update slim to the latest version like this:
(change only the slim/slim line)
run a composer update and test the website. Everything should be ok. If not, restart from the backup 
And how I do the update?
Simply run
composer update
from your command line interface.
i Agree with @napolux,
You just have to go straight to your composer.json file then update the line with âslim/slimâ: â^3.0â TO âslim/slimâ: â^3.5â Then up your Terminal or command prompt to Update Composer Using âcomposer updateâ Command
I tried it and it worked both on windows 8.1 and Ubuntu 16.04LTS