Mainly we can use static variables in php. Especially I’d like to explain how to manage static variables in laravel. Imagine there is categories (1 ~ 10). ID 1 : Premiere Pro Category.ID 2: After Effect Category.….ID 10: Music Category. We can define static variables in Model of laravel. for the example: $CONST_PREMIERE_PRO_CAT = 1;..etc. …
