title: Functionality of likes using cookies
body: <p>Let's say I have a <code>like</code> field in my model, now I want to make the functionality of adding a like using Cookie. For example, we have an article ID, we check in cookies, if there is no data, then we add like and set the time for 10 hours, for example, and so on, 10 hours pass, we check and again we can add like and set this time again. If the data is already there, then we do not add like and do not update the time.</p>
  <p>Can anyone see some examples of this? Or where to start and how to implement it?</p>
  <p>I read the documentation but did not quite understand how it should work</p>
  <p>Let's get a value with a like field</p>
  <pre><code>$likes = Request::cookie('like');
  </code></pre>
  <p>Choosing the time</p>
  <pre><code>$minutes = 600;
  </code></pre>
  <p>And what's next, how can I make a check to add a like?</p>