Support the ongoing development of →
Configuration Installation
Last updated 2 years ago.

some one please guide me


Its namespacing.

Imports are based on the current file, you do not inherit any imports. You will have to use DB in every file you need to use it in that isn't in the root namespace, or reference DB using it's Fully Qualified Class Name.


Hi Thanks you for your valuable reply.

Can you tell me where to keep my common DB functions ("like getting all category/language/country details") and it would be load automatically without include in every page i.e include in one common file same like config file.


someone please help me


Sign in to participate in this thread!


Your banner here too?

siva siva Joined 12 Dec 2015


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.