Laravel helper methods: general