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 started as a Laravel project in Feb 10, 2016 and now it has been recoded into independent packages with lots of new features.


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