Services you'd normally write yourself come fully tested and documented, with a common-sense API.
Get Flick Pro — $99/yearSessions, password hashing and remember-me are fully handled, right out of the box.
$form->create('Email, Password|password, Remember Me|checkbox'); if ($form->submitted()) { $request = $form->request('Email[required, email], Password[required], remember_me'); if ($form->ok()) { $user = $form->sql->find('users', ['email' => $request['email']]); if ($user && $form->auth->verify($request['password'], $user['password'])) { $form->auth->login($user['id'], !empty($request['remember_me'])); $form->redirect('/dashboard'); } $form->addError('email', 'Invalid credentials.'); } }
And then keep all of it current every time PHP changes.
What's next? Support us and find out.
Every time you add uploads, email, or a login to a project, you make slightly different choices about where the files land, what happens when a send fails, and how long a session lives. Multiply that across every project you'll ever build and... well, you get the picture. Flick Pro is one codebase with one set of conventions, and you install it the same way every time.
Every project you build, including client work.
30 days, no questions asked.
Subscription renews yearly until canceled.