<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Cristian Tăbăcitu on Medium]]></title>
        <description><![CDATA[Stories by Cristian Tăbăcitu on Medium]]></description>
        <link>https://medium.com/@tabacitu?source=rss-3ad743cc0645------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*AVJ5MfJIgsWdZoAt.jpg</url>
            <title>Stories by Cristian Tăbăcitu on Medium</title>
            <link>https://medium.com/@tabacitu?source=rss-3ad743cc0645------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 21:15:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tabacitu/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Top 10 Tools to Send Recurring Emails in 2026]]></title>
            <link>https://tabacitu.medium.com/top-10-tools-to-send-recurring-emails-in-2026-2470ad5daeb8?source=rss-3ad743cc0645------2</link>
            <guid isPermaLink="false">https://medium.com/p/2470ad5daeb8</guid>
            <category><![CDATA[productivity-hacks]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[email-automation]]></category>
            <dc:creator><![CDATA[Cristian Tăbăcitu]]></dc:creator>
            <pubDate>Mon, 06 Jul 2026 16:58:47 GMT</pubDate>
            <atom:updated>2026-07-06T16:58:47.878Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever tried to send the same email over and over again? You might be surprised, but it’s impossible to do in all major email providers and clients. None of them can send recurring emails — Gmail, Outlook, FastMail, Yahoo, Apple Mail, Proton, SuperHuman even cPanel miss this one functionality. It’s odd, because you can schedule recurring events in your calendar… and you can schedule recurring todos in most ToDo apps… but you CANNOT schedule recurring emails, in any major email client. That’s a huge oversight! One that we at <a href="https://recurrr.com/">recurrr.com</a> have solved in a very intuitive way (we hope).</p><p>We’ve built <a href="https://recurrr.com/">recurrr.com</a> to scratch our own itch, and it helps us send repeating emails every week, month, quarter etc. But we’re not the first, nor the last to create a solution for this problem. So in the spirit of full disclosure, here’s a list of ALL solutions on the web. The definitive list of <strong>the best and worst ways to schedule recurring emails in 2026</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*a8N5ObEBgWf9i4eKvWbDXA.png" /></figure><h3>1. <a href="https://recurrr.com/">Recurrr.com</a> — dead-simple recurring emails</h3><p>Full disclosure: this is our solution. But we’ll take a step back and try to be objective here. We don’t want you to use our service if we’re not a good fit. That being said… if you only want to send recurring emails, you don’t have to look any further. Here’s our PROs and CONs, the same as for the other tools.</p><p><strong>PROs:</strong></p><p>- Simple to define complex recurrence rules (text input, AI will understand);</p><p>- Supports all email providers (Gmail, Outlook, FastMail, Yahoo, anything);</p><p>- Calendar is an intuitive way to see your outbox.</p><p>- Free during beta, then free tier;</p><p><strong>CONs:</strong></p><p>- More difficult to first set up than others (due to using the reliable SMTP protocol).</p><p>- No mobile app (but <a href="https://recurrr.com/">recurrr.com</a> is mobile-friendly and can be bookmarked).</p><p>That being said… we are actively working on the application. We plan to reduce or fix the downsides above (along with any others you might report), as time goes by. If you’re interested, <a href="https://recurrr.com/">try it out</a> and tell us what you think. If not, read on about the alternatives.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*40YpgNtjpq7J4I5Pqlug8w.png" /></figure><h3>2. Boomerang App — more than recurring emails</h3><p>To be honest, this is one of the few other tool in the list we would personally use. Because… it has downsides, but it also has a lot of good things going for it.</p><p><strong>PROs:</strong></p><p>- It offers a way for you to schedule recurring emails right from the Gmail and Outlook interface.</p><p>- It offers a lot more email productivity tools,like meeting scheduling (a la calendly), a rating system while you write your email, email tracking and more.</p><p>- It has a companion iOS and Android app, which is convenient for mobile use.</p><p><strong>CONs:</strong></p><p>- The plan that includes recurring emails <a href="https://www.boomeranggmail.com/subscriptions.html">costs $15/mo</a>.</p><p>- The interface to create recurring emails is clunky, as opposed to our AI-powered text input.</p><p>- On desktop have to install a Chrome Extension to use it.</p><p>- It only supports Gmail and Outlook. If you have any other email provider… tough luck.</p><p>- If you use both Gmail and Outlook, you have to pay twice, as they are two separate products.</p><p>That being said, if you’d pay for any of the other features they offer in addition to recurring messages, you might consider using Boomerang. We did, for while… until we discovered the only thing we actually used was recurring messages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yBaKY6yFCd2xJiT56cx5Tg.png" /></figure><h3>3. Mailboss — discontinued</h3><p>This was a solution years ago, but it has since been discontinued. When trying to access their website, you’ll find the service is no longer active.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6p12UnjtTYYtIA0HwwsOuw.png" /></figure><h3>4. Later.io — easy setup, but emails may go to Spam</h3><p>This is another simple service that helps send recurring emails, so very similar to Recurrr.</p><p><strong>PRO:</strong></p><p>- simple to use;</p><p>- simple to sign up (no SMTP credentials required);</p><p>- has a generous free tier (30 emails) and a cheap paid tier ($3/mo);</p><p><strong>CONs:</strong></p><p>- the hack they use to send emails on your behalf (address spoofing) is unreliable, so your emails may end up in SPAM;</p><p>- dated interface (but intuitive);</p><p>In conclusion, <strong>**later.io might be a good option to start sending recurring emails — but not for the long run**</strong>. The default sending method makes it the easiest to set up, though in their FAQ they do recommend setting up SMTP credentials, just like we do, to make sure your emails land. If you end up doing that… then there’s no point using <a href="http://later.io/">Later.io</a> — you’re better off using <a href="https://recurrr.com/">Recurrr</a>, which at least makes it way easier to set up your SMTP credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TruHmePUwEkH4jj3EdcH0Q.png" /></figure><h3>5. MailConductor — blocked by Google</h3><p>To put it bluntly… we don’t like MailConductor very much, and don’t think you will either.</p><p><strong>Update:</strong> MailConductor has stopped working. When trying to log in using Gmail, you get a big fat notice saying they are blocked.</p><p><strong>PROs:</strong></p><p>- They invented a nifty (though unreliable) way to send emails from Gmail without using a Chrome extension (by creating a draft and leaving it there);</p><p>- Easy to sign up (Login with Google);</p><p>- It’s “<em>*set it and forget it*</em>”;</p><p>- It’s free;</p><p><strong>CONs:</strong></p><p>- Only supports Gmail;</p><p>- Very incoventient to schedule an email correctly, you basically have to learn a custom syntax they invented, to schedule the emails. And easy example is “`Last day of month reminder @2016–02–01(-1) repeat every month`”;</p><p>- Unreliable — you can easily make a mistake in writing your email subject for more complex rules, and there’s no way to know that until the emails have actually been sent. Ouch!</p><p>- Not sustainable. The fact that they use the Gmail API to send emails means they incur a cost on each email sent. As soon as they exhaust the free Gmail tier, they either have to pay for you to send free emails… or drop emails;</p><p>To conclude, if you’re a tech-savvy person looking for a free way to send recurring emails… sure, you can try MailConductor… But we wouldn’t recommend it. We think other options on this list will serve you better.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*5YNOEfBpbijrykLJ8n5gVw.png" /></figure><h3>6. Gmass — can only send every week or month</h3><p>We don’t think this is what you’re looking for, but let’s mention it nonetheless. Gmass is another email-productivity tool, like Boomerang, and <a href="https://www.gmass.co/blog/recurring-reminder-emails/">it offers to send recurring emails</a>:</p><p><strong>PROs:</strong></p><p>- offers a lot more features than recurring emails alone;</p><p>- supports SMTP too (not just Gmail);</p><p><strong>CONs:</strong></p><p>- very limited recurrence rule: every x weeks/months, that’s it;</p><p>- complex — does way too many things for most users;</p><p>If what you’re looking for is a way to send recurring emails… most likely Gmass isn’t it. If what you’re looking for is an email productivity powerhouse… Gmass might be a good Boomerang alternative… but its “recurring emails” functionality is very limited.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tVY5icfgDI5LYdlCMy8Vcw.png" /></figure><h3>7. RecurringEmail.com — only browser extension</h3><p>Another interesting option (with a really good domain name) is <a href="https://recurringemail.com/en">recurringemail.com</a> along with their little brother <a href="https://recurring-emails-for-gmail.com/en">recurring-emails-for-gmail.com</a>.</p><p><strong>PROs:</strong></p><p>- Support for both Gmail and SMTP;</p><p>- Browser extension that lets you schedule an email right from Gmail’s “compose” screen;</p><p><strong>CONs:</strong></p><p>- Only way to interact is on desktop, through the browser extension; and a browser extension can read your email pages and contacts, or even all pages you browse, if you’re not careful to limit it;</p><p>- Creating complex recurrence rules is clunky, but possible;</p><p>- The browser extension itself is pretty difficult to use;</p><p>- Last update seems to be in Oct 2022;</p><p>To conclude, I think RecurringEmail.com does a lot of things right. But its choice of making their features available as a browsers extension makes this a HARD NO for me. It needs me to trust that the company behind RecurringEmail.com does not spy on me, copy my contacts, sell my info, etc. Which… I don’t, sorry. I would love to see a web app or mobile app for this, since it’s feature-packed. But since it hasn’t received any updates since 2022… I doubt that will happen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*HKAU6_qJUTbjK-x6rySXpA.png" /></figure><h3>8. RightInbox — only browser extension</h3><p>Another Chrome extension, <a href="https://www.rightinbox.com/blog/how-to-send-recurring-emails-in-gmail">RightInbox</a> offers a lot of things in addition to recurring emails. And while this isn’t something I’d choose if I were looking to send recurring emails, if you’re looking for an email-productivity powerhouse, you could consider this as a good alternative to Boomerang or Gmass.</p><p><strong>PROs:</strong></p><p>- offers many more features in addition to recurring emails;</p><p>- on desktop, you can compose a recurring message right from Gmail compose screen;</p><p><strong>CONs:</strong></p><p>- very complex — if you don’t use the many features it offers, they are always in the way and complicate your Gmail user experience;</p><p>- only available as a Chrome extension — so they have access to read your emails, contacts etc;</p><p>- no good way to see and manage your outgoing emails;</p><p>To conclude, if you’re looking for a way to send recurring emails… RightInbox is probably overkill. It does composing pretty well, but managing… not so much. Plus, it does so many other things that it’ll quickly get overwhelming. That being said… if you do need any of the extra features they offer… and you don’t have privacy concerns (are ok with them reading all your emails, contacts etc), then just like Boomerang and Gmass here… it’s worth considering.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TDYZ-bet5PARKD95opk16g.png" /></figure><h3>9. SendRecurring — likely to go to SPAM</h3><p>The website and app look a little dated, but this site has a few tricks up its sleeve.</p><p><strong>PROs:</strong></p><p>- can also send SMS, not just email;</p><p>- interface is dated, but intuitive;</p><p><strong>CONs:</strong></p><p>- UI is dated;</p><p>- the way they send emails (spoofing) is unreliable — they are likely to go to SPAM;</p><p>In conclusion, I’m really sad that this tool doesn’t let you plug in your own SMTP credentials and hasn’t kept up with the time. If it did, it were a really good option! But as it is right now… I wouldn’t trust it with my email credentials, sorry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sQLdwh6vz264BPwIcf_8Cw.png" /></figure><h3>10. SendLaterEmail — Windows app</h3><p>This one… it’s different from all of the options above. It isn’t a web app… nor a Chrome extension… it’s actually a Windows application, that you install on your computer. If you ask me, that’s a terrible technical choice in how to solve this problem — because if your computer is offline… it’s offline… the emails won’t get sent!</p><p><strong>PROs:</strong></p><p>- it’s different? 🤷🏻‍♂️</p><p><strong>CONs:</strong></p><p>- only works on Windows;</p><p>- if your computer is closed, your emails won’t get sent on time;</p><p>To conclude, I wouldn’t recommend you use SentLaterEmail. From the look of the website and the choice of implementation, I wouldn’t trust this with my email, sorry.</p><p>Conclusion</p><p><strong>— — — — —</strong></p><p>There have been A LOT of solutions over the years for sending recurring emails. Most of them haven’t stayed up to date… and a lot of them no longer work today. So the question remains… <strong>If you have to choose a tool to start sending recurring emails today, in 2026.. what should you choose?</strong> Personally, I would choose:</p><p>- <a href="https://recurrr.com/">recurrr.com</a> if you only care about sending recurring emails;</p><p>- <a href="https://boomerangapp.com/">boomerangapp.com</a> if you also want a calendly alternative and other features they offer;</p><p>But it’s up to you, your needs, your preferences.</p><p>We hope this guide helps you choose the best solution for you in 2026. We also hope you notice how much time, effort and objectivity we’ve put into the article, and choose to <a href="https://recurrr.com/">try our service</a>. But if you feel like we’re missing something you need… or you know any other tool that should be in this list… please leave a comment below or email us.</p><p>Happy sending! (over and over again)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2470ad5daeb8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shipping Backpack v7: 2.5 Years of Improvements]]></title>
            <link>https://tabacitu.medium.com/shipping-backpack-v7-2-5-years-of-improvements-895811a22fee?source=rss-3ad743cc0645------2</link>
            <guid isPermaLink="false">https://medium.com/p/895811a22fee</guid>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[erp-software]]></category>
            <category><![CDATA[admin]]></category>
            <category><![CDATA[php]]></category>
            <dc:creator><![CDATA[Cristian Tăbăcitu]]></dc:creator>
            <pubDate>Wed, 26 Nov 2025 14:36:53 GMT</pubDate>
            <atom:updated>2025-11-26T14:36:53.725Z</atom:updated>
            <content:encoded><![CDATA[<p>Backpack v7 is out today — and it’s the biggest, most feature-packed version we’ve ever shipped.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i2OlNrGtD3WMeXNm8TNhsg@2x.png" /></figure><h3>Why v7 Exists</h3><p>For the last 2.5 years, we’ve tried very hard to ship everything in a backwards‑compatible way, without forcing a major version bump, because upgrades are a pain. At some point though, the number of improvements, cleanups and small breaking changes piled up so much that keeping it all in v6 would have made the codebase worse, not better.</p><p>Backpack v7 is the result of more than 1000 commits over ~1.5 years, on top of maintaining and bug‑fixing v6 in parallel. It’s basically a refactor and feature release rolled into one: same philosophy, simpler internals, and more power where Laravel devs actually need it.</p><h3>The “anywhere you want” components</h3><p>One of the biggest pain points we’ve seen: you build a CRUD, and then you want to reuse its table or form on a dashboard, report page, or some bespoke screen. In v7, the core CRUD pieces are now proper components you can drop anywhere in your app:</p><ul><li><a href="https://backpackforlaravel.com/docs/7.x/base-components#datatable-1"><strong>Datatable</strong></a>: reuse your CRUD list (with sorting, filtering, pagination) in any Blade view, custom page or operation.​</li><li><a href="https://backpackforlaravel.com/docs/7.x/base-components#dataform-1"><strong>Dataform</strong></a>: reuse the form for an entry anywhere — page, modal, drawer, you name it.</li><li><a href="https://backpackforlaravel.com/docs/7.x/base-components#datagrid-1"><strong>Datagrid</strong></a>: a compact, nicer “show” layout you can also embed in other places.</li><li><a href="https://backpackforlaravel.com/docs/7.x/crud-chips"><strong>Chips</strong></a>: small, dense UI pieces to show a few attributes in tight spaces (especially useful in List and Show).</li></ul><p>The idea is: you define things once in your CrudController, then you can sprinkle them across your backoffice without rewriting logic or re‑implementing UI.</p><h3>Making the UI not look like “default admin panel”</h3><p>Backpack has been using Tabler as the default HTML template for a while, and v7 doubles‑down on that. We now ship “skins”: CSS layers you can enable to give your admin a different look, including a modern “non‑liquid glass” skin at launch.</p><p>Under the hood, v7 still runs on Blade, Bootstrap and JavaScript, with all JS/CSS assets bumped to newer versions (Tabler, Bootstrap, Datatables, etc.). You can also tailor the backoffice to your brand using CSS variables, so your admin no longer screams “generic theme from 2017”.</p><h3>Dev experience improvements</h3><p>A lot of work went into reducing the “<em>friction tax</em>” when you customise things in Backpack.</p><ul><li><a href="https://backpackforlaravel.com/docs/7.x/crud-operations#lifecycle-hooks-1">CRUD lifecycle hooks</a>: instead of overriding whole operation methods just to run something before/after, you can now hook into the lifecycle in a cleaner way.</li><li><a href="https://backpackforlaravel.com/docs/7.x/crud-save-actions#save-action-classes-1">Save Actions Classes</a>: instead of big array configs in each CrudController, save actions are now proper PHP classes (Backpack ships with SaveAndBack, SaveAndEdit, SaveAndNew, SaveAndPreview, plus SaveAndList).</li><li><a href="https://backpackforlaravel.com/docs/7.x/crud-filters#use-filters-on-custom-admin-panel-pages">Reusable filters</a>: filters can now be used on custom pages and custom views, triggering generic JS events (like backpack:filter:changed) that you can react to with your own JS or Livewire.</li></ul><p>Uploads, especially in trickier cases like repeatables, have also been revisited so they behave more consistently, even if that required a few small breaking changes internally.</p><h3>AI and testing (current and upcoming)</h3><p>v7 also opens the door for a lot of AI‑powered tooling — some of it is already there, some is shipping in 7.x:​</p><ul><li><strong>AI Agent Kit</strong>: gives AI agents the context and tools needed to create CRUDs, new pages, and custom features in your Backpack admin. (Work in progress.)</li><li><strong>Operation Tests</strong>: helpers to generate feature tests for default and custom operations, which you can then refine (including with AI assistance). (WIP.)</li><li><strong>Browser Tests</strong>: scaffolding for Laravel Dusk tests that click through your admin like a real user. (WIP.)</li><li><strong>Chart components, metrics operation, AI add‑ons, MCP server</strong>: these are planned within the 7.x line — charts and metrics to expose model‑level insights, AI add‑ons so admins can use LLMs directly in the backoffice, and an MCP server to let AI agents safely read/edit/delete data.</li></ul><p>This is all meant to make Backpack a better “playground” for both you and your AI tools, without hiding what’s going on under a black box.</p><h3>Practical stuff: upgrade and promo</h3><p>If you’re on v6, the <a href="https://backpackforlaravel.com/docs/7.x/release-notes">release notes</a> and <a href="https://backpackforlaravel.com/docs/7.x/upgrade-guide">upgrade guide</a> walk through what changed, what’s backward‑compatible, and where you might need to adjust code (mainly around the cleaned‑up parts like views, operations and assets). The goal was to keep the upgrade as painless as possible while still letting us modernise the internals.</p><p>If you’ve never tried Backpack, v7 is probably the best moment so far: it’s the culmination of nine years of building admin panels and internal tools, plus a lot of feedback from agencies and in‑house teams. We’re also running a launch promo right now, so if you’re curious, <a href="https://backpackforlaravel.com/version-seven">check out the v7 page</a>, the <a href="https://backpackforlaravel.com/docs/7.x/release-notes">docs/release notes</a>, and tell us what you think — especially what gets in your way, so we can keep fixing it.​</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=895811a22fee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to serve a website that uses OAuth using Laravel Valet]]></title>
            <link>https://tabacitu.medium.com/how-to-serve-a-website-that-uses-oauth-using-laravel-valet-59a237d74cd6?source=rss-3ad743cc0645------2</link>
            <guid isPermaLink="false">https://medium.com/p/59a237d74cd6</guid>
            <category><![CDATA[google-api]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[oauth]]></category>
            <dc:creator><![CDATA[Cristian Tăbăcitu]]></dc:creator>
            <pubDate>Fri, 30 Nov 2018 09:29:24 GMT</pubDate>
            <atom:updated>2018-11-30T09:29:24.389Z</atom:updated>
            <content:encoded><![CDATA[<p>If you use Google, Facebook or another OAuth provider, you might have a difficult time setting up your local environment. That’s because they have some <em>very</em> strict rules about the Authorized Redirect URIs you can register with them. Google, for example, says:</p><ul><li>it can only be a valid top level domain (or <em>localhost</em>)</li><li>it can only be served through HTTPS (<em>not</em> HTTP)</li><li>etc</li></ul><p>But if you use Mac OS &amp; Laravel Valet, your projects probably are certainly hosted with a custom extension, something like <em>.test. </em>Google will not allow you to use <em>example.test</em>. Here’s what I’ve done, to be able to use Google OAuth on Laravel Valet.</p><p><strong>Assumptions:</strong></p><ul><li>you already have your app set up in <a href="https://console.cloud.google.com/apis/">Google API Console</a>;</li><li>you’ve already set permissions and have your TLD approved (example.com);</li><li>you already have a working <em>production</em> environment (example.com);</li><li>you already have a working <em>staging</em> environment (xyz.example.com);</li><li>you <em>don’t</em> have a working <em>localhost</em> environment;</li><li>you want to use the same credentials for your <em>localhost</em> environment, as you did for your <em>staging</em> environment;</li></ul><p><strong>Step 1.</strong> In the <a href="https://console.cloud.google.com/apis/">Google API Console</a>, for your <em>staging</em> environment, add a new Authorized redirect URI, but use the <em>localhost.example.com</em> instead of <em>xyz.example.com</em> (or whatever you are using for the staging environment). This will allow you to use this as a Redirect URI when you log the user in, and Google won’t throw an error. Make sure you use HTTPS. It might look something like this:</p><blockquote>https://localhost.example.com/login/google/callback</blockquote><p><strong>Step 2.</strong> Install your project as you normally would. Say it lives in your <em>/Projects/example</em> , then Valet would normally serve it through <em>example.test. </em>What we want it to do is also serve it through <em>localhost.example.com. </em>To do this, you need to:</p><ul><li>point <em>localhost.example.com</em> to <em>127.0.0.1</em> on your machine; either manually edit <em>/etc/hosts,</em> or do:</li></ul><blockquote>sudo echo ‘127.0.0.1 localhost.example.com’ &gt;&gt; /etc/hosts</blockquote><ul><li>then, in your parked Laravel directory (usually <em>/Projects/</em> or <em>/Sites/</em>) create a symlink to your real folder:</li></ul><blockquote>ln -s example localhost.example.com</blockquote><p>You now have an alias — <em>localhost.example.com</em> is the same thing as <em>example.test</em></p><p><strong>Step 3.</strong> Add a SSL certificate</p><blockquote>valet secure localhost.example.com</blockquote><blockquote>valet restart</blockquote><p>This will <em>probably</em> add a certificate for <em>localhost.example.com.test</em>, but you shouldn’t care that much. Since it’s a self-signed certificate, it isn’t of much use, you’ll be the only one seeing it. Go to <a href="https://localhost.example.com/">https://localhost.example.com</a> and it will prompt you that the certificate isn’t valid. Confirm you know what you’re doing. It will say NOT SECURE in your address bar, but who cares.</p><p><strong>Step 4. </strong>In your OAuth implementation, make sure you’re sending Google this new callback url, with HTTPS and bogus subdomain. Usually it’s in your .ENV file, something like:</p><blockquote>GOOGLE_REDIRECT=https://localhost.example.com/login/google/callback</blockquote><p><strong>Step 5.</strong> That’s it. Go ahead and test it:</p><ul><li>you go to <a href="https://localhost.example.com/">https://localhost.example.com</a></li><li>this <em>localhost.example.com</em> actually serves your old <em>example.test</em></li><li>when you click on your Google Auth login button, Google will check the certificate, id and everything and redirect you to the callback URL you specified, which starts with <a href="https://localhost.example.com/"><em>https://localhost.example.com</em></a></li><li>your hosts file sees that domain and points it to 127.0.0.1</li><li>Laravel Valet picks it up and sends it to the symlink</li><li>the symlink picks it up and sends it to the real <em>/Projects/example</em> folder</li></ul><p>I haven’t found a better way to do this using Laravel Valet. Let me know if you do, or if you find a way to easily generate a SSL certificate for <em>localhost.example.com</em> instead.</p><p>Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59a237d74cd6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to install CloudFlare’s Free SSL on Laravel Forge]]></title>
            <link>https://tabacitu.medium.com/how-to-install-cloudflare-s-free-ssl-on-laravel-forge-e99522078bcd?source=rss-3ad743cc0645------2</link>
            <guid isPermaLink="false">https://medium.com/p/e99522078bcd</guid>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[ssl]]></category>
            <category><![CDATA[cloudflare]]></category>
            <dc:creator><![CDATA[Cristian Tăbăcitu]]></dc:creator>
            <pubDate>Mon, 12 Oct 2015 11:28:01 GMT</pubDate>
            <atom:updated>2015-10-25T13:00:42.428Z</atom:updated>
            <content:encoded><![CDATA[<p>If you don’t want to pay for an SSL certificate, you can use CloudFlare’s free SSL. Its setup, though, isn’t that apparent and it seems like no one has asked or answered this particular question.</p><p>Assumptions:</p><ul><li>you already have CloudFlare setup and your domain name points to it;</li><li>you manage your server with Laravel Forge (though the same steps should be true for any nginx server);</li></ul><p>Steps:</p><ol><li>Generate a self-signed certificate on <a href="http://www.selfsignedcertificate.com/">http://www.selfsignedcertificate.com/</a>. It’ll give you the links to 2 files (private key and certificate). Download them.</li><li><strong>In your Forge panel</strong>, copy the contents of the above files in Sites &gt; your-site &gt; SSL Certificates &gt; Install Existing Certificate. Don’t forget to click “Activate” once it’s installed.</li><li><strong>In your CloudFlare panel</strong>, under Crypto &gt; SSL (with SPDY), choose “Full” (NOT Full strict).</li></ol><p>Done! Enjoy your free SSL.</p><p>Why this works:</p><ul><li>your user’s connection to the CloudFlare servers is SSL protected using CloudFlare’s SSL (so the green lock will show up);</li><li>CloudFlare’s connection to your server is SSL protected, thanks to your self-signed certificate (so your assets will have the proper https);</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e99522078bcd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Laravel Packages. For Dummies.]]></title>
            <link>https://tabacitu.medium.com/creating-laravel-5-packages-for-dummies-ec6a4ded2e93?source=rss-3ad743cc0645------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec6a4ded2e93</guid>
            <category><![CDATA[composer]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[laravel]]></category>
            <dc:creator><![CDATA[Cristian Tăbăcitu]]></dc:creator>
            <pubDate>Fri, 26 Jun 2015 19:49:19 GMT</pubDate>
            <atom:updated>2020-11-04T14:56:16.254Z</atom:updated>
            <cc:license>https://creativecommons.org/publicdomain/mark/1.0/</cc:license>
            <content:encoded><![CDATA[<h4>A complete tutorial to Laravel Packages, from version 5.1 to 8+</h4><p>Unfortunately, <a href="http://laravel.com/docs/5.1/packages">Laravel&#39;s documentation on how to create a package</a> is an introduction, at best. It’s important to read it - to understand the concept - but it’s not a step-by-step guide to creating your first package. This is.</p><p><strong>Last updated in March 2020</strong> — used it to create a tutorial for <a href="https://backpackforlaravel.com/">Backpack for Laravel</a> add-ons.</p><h3>Step 1. Install Laravel</h3><p>For this, check out <a href="http://laravel.com/docs/5.1/installation#installation">Laravel’s docs</a>. As an alternative, use an existing Laravel application. Don’t forget you need to:</p><pre>composer install</pre><p>and</p><pre>chmod -R o+w storage<br>chmod -R o+w vendor</pre><h3>Step 2. Create your package</h3><p>We’re going to use this <a href="https://github.com/Jeroen-G/laravel-packager">CLI tool</a> to generate a new package. Follow the instructions in the Installation chapter there to create a new package. If you already have it, run:</p><pre>php artisan packager:new myvendor mypackage</pre><p>If unsure, use your github username for <em>myvendor</em>. For example, <a href="https://packagist.org/packages/way/">Jeffrey Way uses “way”</a>.</p><p>This will create a /packages/ folder in your root directory, where your package will be stored so you can build it. It will also pull <a href="https://github.com/thephpleague/skeleton">a very basic package template, created by thephpleague</a>. Everything you have right now is in packages/myvendor/mypackage.</p><p>Now let’s customise it and add some boilerplate code, everything that most Laravel Packages will need.</p><ol><li><strong>Replace everything you need</strong> in composer.json, CHANGELOG.md, CONTRIBUTING.md, LICENSE.md, README.md. Make it yours.</li><li>In /src/ you’ll find your service provider. That’s where your package’s logic is, but it’s empty. <strong>Use </strong><a href="https://gist.github.com/tabacitu/dbcfd71375e72c857474"><strong>this Service Provider template</strong></a> and replace “League” with your “myvendor” and “Skeleton” with your “mypackage”.</li><li>Your package will probably need some <strong>Controllers, routes and config files</strong>, so let’s create some empty files for that.</li></ol><pre>cd /src/<br>mkdir Http<br>mkdir Http/Controllers<br>echo &quot;&lt;?php &quot; &gt;Http/routes.php<br>mkdir config<br>echo &quot;&lt;?php &quot; &gt;config/config.php<br>mkdir resources<br>mkdir resources/views/</pre><p>You use the routes, config and controller files just like you use the ones in your application. Nothing changes there. But remember that the controller should have the package’s namespace:</p><pre>namespace MyVendor\MyPackage\Http\Controllers;</pre><p>4. <strong>Check that your service provider is in your app’s /config/app.php</strong></p><p>If not, add it:</p><pre>&quot;MyVendor\MyPackage\MyPackageServiceProvider&quot;,</pre><p>5. <strong>Check that you autoload your package in composer.json</strong>:</p><pre>&quot;autoload&quot; : {<br>  &quot;psr-4&quot;: {<br>    “Domain\\PackageName\\”: “packages/Domain/PackageName/src”<br>  }<br>},</pre><p>6. Let’s <strong>recreate the autoload</strong></p><pre>cd ../../../..<br>composer dump-autoload</pre><p>7. If you have a <strong>config file to publish</strong>, do:</p><pre>php artisan vendor:publish</pre><p>8. <strong>Test it. </strong>If you are having problems, start by doing a dd(‘testing) in your service provider’s boot() function.</p><p>If your package is working fine, you should make it available for others to use.</p><h3>Step 3. Put it on GitHub</h3><pre>cd packages/domain/packagename/<br>git init<br>git add .<br>git commit -m “first commit”</pre><p>Create a <a href="https://github.com/new">new GitHub repository</a>.</p><pre>git remote add origin <a href="/service/mailto:git@github.com">git@github.com</a>:yourusername/yourrepository.git<br>git push -u origin master<br>git tag -a 1.0.0 -m ‘First version’<br>git push --tags</pre><p>The tags are the way you will version your package, so it’s important you do it.</p><h3>Step 4. Put it on Packagist</h3><p>On <a href="http://packagist.org/">Packagist.org</a>, submit a new package. Enter you package’s GitHub URL and click Check. If any errors occur, follow the onscreen instructions.</p><p>When you’re done, you’re taken to your package’s packagist page, where you’ll probably get a notice like this:</p><p><strong>This package is not auto-updated. Please set up the </strong><a href="https://packagist.org/profile/"><strong>GitHub Service Hook</strong></a><strong> for Packagist so that it gets updated whenever you push!</strong></p><p>Let’s take care of that. Click that link, get your API token and go to your package’s GitHub page, in Settings / Webhooks &amp; Services / Add a new service. Search for Packagist. Enter your username and the token and hit Submit. Your error in Packagist should dissapear in 5–10 minutes.</p><p><strong>Congrats, you have a working package online</strong>, you can now require it in composer.</p><h3>Step 5. Keep working on it from your vendor folder</h3><p>If the application where you’ve developed the package had this sole purpose — to help you develop the package, you’re done.</p><p>But if you’ve developed the package in a bigger project, where you are now requiring it, you have a problem — your composer.json has both:</p><pre>&quot;require&quot;: {<br>  &quot;domain/package-name&quot;: &quot;^1.0&quot;<br>}</pre><p>and</p><pre>&quot;autoload&quot; : {<br>  &quot;psr-4&quot;: {<br>    “Domain\\PackageName\\”: “packages/Domain/PackageName/src”<br>  }<br>},</pre><p>Plus, the same files are in /packages/myvendor/mypackage AND in /vendor/myvendor/mypackage.</p><p>Let’s solve this:</p><p>1. <strong>Delete the /packages/myvendor/mypackage folder.</strong></p><p>2. <strong>Delete the psr-4 mention in your root composer.json.</strong></p><p>Done. Now you only have it in /vendor/ and that’s where your application is using it from. But <strong>now you can’t push updates</strong>, because /vendor/myvendor/mypackage/ doesn’t have your git repository, only the files. Let’s fix that.</p><p>3. Delete /vendor/myvendor/mypackage:</p><pre>cd ../../..<br>rm -rf vendor/myvendor/mypackage</pre><p>4. Run composer with the — prefer-source flag, so it clones the repo:</p><pre>composer install --prefer-source</pre><p>That’s it, you can now cd to <em>/vendor/myvendor/mypackage</em>, make your changes and push them, just like any other git repository.</p><p>I got my info from:</p><p>- <a href="http://laravel.com/docs/5.1/packages">http://laravel.com/docs/5.1/packages</a></p><p>- <a href="https://laracasts.com/discuss/channels/tips/developing-your-packages-in-laravel-5">https://laracasts.com/discuss/channels/tips/developing-your-packages-in-laravel-5</a></p><p>- <a href="https://github.com/jaiwalker/setup-laravel5-package">https://github.com/jaiwalker/setup-laravel5-package</a></p><p>- <a href="https://github.com/Jeroen-G/laravel-packager">https://github.com/Jeroen-G/laravel-packager</a></p><p>- <a href="https://laracasts.com/lessons/package-development-101">https://laracasts.com/lessons/package-development-101</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec6a4ded2e93" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>