Forum API

Advanced information for expert users.

Models

  • Laralum\Forum\Models\Category

    • threads()

      Returns the category threads relationship (Laralum\Forum\Models\Thread).

    • comments()

      Returns the comments of the category threads relationship (Laralum\Forum\Models\Comment).

    • deleteThreads()

      Deletes all the category threads.

    • deleteComments()

      Deletes all the comments of the category threads.

  • Laralum\Forum\Models\Thread

    • category()

      Returns the category relationship (Laralum\Forum\Models\Category).

    • comments()

      Returns the thread comments relationship (Laralum\Forum\Models\Comment).

    • deleteComments()

      Deletes all the thread comments.

    • user()

      Returns the thread user relationship (Laralum\Users\Models\User).

  • Laralum\Forum\Models\Comment

    • threads()

      Returns the threads relationship (Laralum\Forum\Models\Thread).

    • user()

      Returns the comment user relationship (Laralum\Users\Models\User).

Did you know?

Laralum is translated with aitor24/laralang, a translation package able to autogenerate php translations files.


Donations

Please consider donating if you liked the project, we currently have no funding and we're spending a lot of time maintaining and developing this project.


The creators

Èrik Campobadal Forés

Aitor Riba Archilla


Major Contributors

Krishan König

Laraketai

Snow McFox