Blog API

Advanced information for expert users.

Models

  • Laralum\Blog\Models\Category

    • posts()

      Returns the category posts relationship (Laralum\Blog\Models\Post).

    • comments()

      Returns the comments of the category posts relationship (Laralum\Blog\Models\Comment).

    • deletePosts()

      Deletes all the category posts.

    • deleteComments()

      Deletes all the comments of the category posts.

  • Laralum\Blog\Models\Post

    • category()

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

    • comments()

      Returns the post comments relationship (Laralum\Blog\Models\Comment).

    • deleteComments()

      Deletes all the post comments.

    • user()

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

  • Laralum\Blog\Models\Comment

    • post()

      Returns the post relationship (Laralum\Blog\Models\Post).

    • user()

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

Did you know?

Laralum is found to be the only CMS that still gives you the ability to manage the views and the website the way you like, without any problems with the correct functionality of it.


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