Astrotomic / astrotomic.info

Astrotomic website/landingpage
https://astrotomic.info
MIT License
5 stars 1 forks source link

Drop Stancy CMS and upgrade Laravel/PHP #7

Closed Gummibeer closed 1 year ago

Gummibeer commented 3 years ago

Stancy is limited to Laravel v6 or so and we are therefore limited to this Laravel version and because of this to older dependencies. Stancy is only a wrapper around several spatie packages - primary the sheets. We are good to go without Stancy and use the sheets and other packages directly in the latest version.

scrlkx commented 3 years ago

I've made some progress here: scrlkx/patch-2 in case you're interested.

scrlkx commented 3 years ago

Upgrading spatie/packagist-api to v2 we will need to deal with astrotomic/laravel-medialibrary-hls. Packagist new API does not give us its metadata as it was considered deprecated. Maybe there is an alternative besides dropping it, but as it doesn't have any installation I thought you might want to do that.

Checkout: https://blog.packagist.com/deprecating-composer-1-support

Gummibeer commented 3 years ago

Hey, The HLS package is still pending and WIP. So it's fine if it's not listed - as there's nothing special with that package it should be listed as soon as it's finished. 🤔 Will check out the link - thanks for sharing and mentioning. 🥳

scrlkx commented 3 years ago

Sorry, I didn't see what the package was about and assumed that it was an old abandoned project. I'll just ignore it until you've it working on API v2.

Gummibeer commented 3 years ago

You don't have to wait. It won't be finished in next few weeks. So just proceed and ignore the package.

PS: really thanks for taking the time to upgrade the website! 🤩🥳

scrlkx commented 3 years ago

I'm going to replace Stancy SitemapFactory by spatie/laravel-sitemap unless you've thought on another way. Also, let's go straight to Laravel 8 and PHP 8 as well.

Gummibeer commented 3 years ago

The factory was only a wrapper around.