[3.x - epic] Laravel app refactoring

Open
#4,112 2 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
laravel, php
Domain
backend

Research direction

Start by reviewing the HTTP component and the related requirements in issue #3865. Break the epic into concrete follow-up tasks covering Illuminate HTTP routing, route-name conflicts, view namespaces, and injecting views, components, or Livewire entities into base templates; completion means each requirement has an implemented and separately verifiable change.

Written by the indexing model from the issue text.

Description

type/feature

For 3.x we want to move towards the ability to integrate Flarum into Laravel projects.

This will require several rewrites of core components and, as such, cannot be part of 2.x. This epic is to collect, list and follow up on any requirements.

Requirements
  • Refactor the HTTP component, replace fast-route with illuminate http routing, see #3865
  • Prevent conflicts between route names of Flarum versus Laravel
  • Guarantee view namespace on core and extensions.
  • Allow injecting views/components/livewire entities into the base template(s)
Dominant language
PHP
Stars
6.8k
Forks
891
Avg merge
1d 10h
Merged PRs (30d)
209

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 flarum/framework

All issues in flarum/framework

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.