php - How to store permanent non static value in Laravel -
i'm sorry being such vague question i'm unsure keywords search for. want store external number can use run schedule php program (that aims transfer data between databases), there's different id's , whatnot ... point need laravel remember 1 number (that latest id other server's db).
question how store value? creating table store single value fells bit overkill. i've been looking cookies , flash memory, "for next request" , i'm not sure means , sounds irrelevant want. go far declare global variable number don't know how.
so, put question in simple words ask how persist number using laravel 5 framework
thanks.
what saving id simple text file on filesystem?
something like
storage::disk('local')->put('lastid.txt', '165');
Comments
Post a Comment