Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

spook1's avatar

Materialize on laravel 5.5.50, php 7.4.14. Outdated?

Materialize on laravel 5.5.50, php 7.4.14

As a noob on Laravel I am trying to figure out how to maintain an older application

It runs in laravel 5.5.50 , and I find that some materialize features do not function.

Do I need to upgrade?

Can I easily modernize the application? Do I need to?

0 likes
8 replies
chaudigv's avatar

Can I easily modernize the application?

If you have followed the coding structure according to Laravel Docs then you can simply follow the upgrade guides from each version to next. E.g. going from 5.5 guide to 5.6, then 5.6 to 5.7 and so on.

Few months back I gave a similar answer on stackoverflow Upgrading Laravel 5.0 to the latest version (7.x). This should give you a good head start.

Do I need to upgrade?

Not mandatory but highly recommended to do so.

Please read the Laravel Support Policy. In the beginning of this week Laravel 7 has reached end of life. Things are moving fast and in good direction.

I feel if I do not upgrade then I am limiting myself from learning new features.

spook1's avatar

Great, thanks for the quick answer.

Do you know if Materialize is still available for laravel 7.x?

chaudigv's avatar

Which Materialize version are you currently using?

spook1's avatar

I think it is materialize v1.0.0

In the layout file it sais: " {!! MaterializeCSS::include_full() !!}"

In the public folder I find materialize.css starting with: " /*!

The problem is that the side menu is no longer working:

"(a href="#" data-activates="side-menu" class="button-collapse")(i class="material-icons")(menu(/i)(/a)"

Does this make any sense?

As I warned, I am a noob..

chaudigv's avatar
chaudigv
Best Answer
Level 16

@spook1 Last update was on 10th Sep 2018.

Is it outdated? YES

I would suggest to stop making improvements on it. Rather use those resources on building your project with Tailwind or Bootstrap.

apex1's avatar

There should also be a javascript file if you want to be able to use the interactivity. Is that in the project at all?

spook1's avatar

Javascript files are present:

/public/css/materialize-css/js/materialize.js /public/css/materialize-css/js/materialize.min.js

spook1's avatar

I broke the app:

error: In PackageManifest.php line 122: Undefined index: name

Trying to go from 5.8 to 6 I figure out that Materialize is no longer supported. I decided to delete it and rebuild later with Bootstrap.

I removed the following references ( maybe I should have done this in another way..? Sorry, I'm noob..)

"skydiver/laravel-materialize-css": "dev-master"` from the require-dev section in composer.json

Also deleted the materialize entries from webpack.mix.js

Finally I removed: {!! MaterializeCSS::include_full() !!} from the layout.blade.php

Now when I try to run artisan serve to investigate the damage I get the following error:

In PackageManifest.php line 122:

Undefined index: name What should I do now?

Please or to participate in this conversation.