session variable in laravel

1 0
2 years ago 736 views
Sessions are used to store information about the user across the requests. Laravel provides various drivers like file, cookie, apc, array, Memcached, Redis, and database to handle session data. By default, file driver is used because it is lightweight. Session can be configured in the file stored at config/session.php.

what is a namespace in php?

1 0
2 years ago 735 views
A Namespace in PHP is used to encapsulate the items which are similar to that of abstraction in Object Oriented programming concepts.
PHP