Forked and updated for latest PHP

Open
#64 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
15/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Quiet
Tech stack
apache, javascript, php

Research direction

The issue is a status note linking a fork (swbuehler72/Compass) with PHP 8 and dependency updates, not a request for a specific change. Its listed areas are the IndieAuth client calls, the controllers and views that use $request->session(), the deprecated each() and strftime() calls, the BASE_URL concatenations, the Leaflet setView call, and the map tile source. A newcomer would need to decide with maintainers which of these to upstream before any code change. Done would mean an agreed scope and a pull request that passes the existing tests.

Written by the indexing model from the issue text.

Description

I forked the repo to https://github.com/swbuehler72/Compass, and after burning through most of my Google Gemini 3 quota to update the code to PHP 8 and the latest versions of all the modules (Lumen, &c.) and troubleshoot/fix all of the resulting issues, I got it working on my Raspberry Pi on Apache 2 inside my tailscale network on Port 81 (so I can have the application at / to simplify things).

Image

Latest commit:

Fix authentication, session persistence, and PHP 8 compatibility issues
- Updated IndieAuth client calls to match 1.x library signature
- Refactored controllers and views to use $request->session() for reliable state management
- Replaced deprecated each() and strftime() with PHP 8 compatible alternatives
- Fixed missing leading slashes in BASE_URL concatenations
- Fixed SQL error on database creation by providing default values for required fields
- Restored Leaflet map functionality by fixing invalid setView parameters and native function conflict
- Switched map tile source to OpenStreetMap for better reliability
Dominant language
JavaScript
Stars
143
Forks
33
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aaronpk/Compass

All issues in aaronpk/Compass

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.