doefom, to Laravel
@doefom@mastodon.social avatar

TIL that ships with the 'isCpRoute()' function, which allowed me to make my code a little more compact. The function will check if the current route is a control panel route or not. Here's the old and new code. Feels refreshing 😁

doefom, to webdev
@doefom@mastodon.social avatar

Just published a new release of one of my addons. But first I rewrote the whole thing, then updated the README, noticed that half of my code is not necessary, rewrote the whole thing, then updated the README again. That's how I work.

kaiserkiwi, to Laravel
@kaiserkiwi@corteximplant.com avatar

That made me chuckle :D

doefom, to Laravel
@doefom@mastodon.social avatar

That's by far the shortest @statamic addon I have ever coded, fitting on one single screenshot. It's a #Statamic wrapper of the #Laravel package "browser-detect" by "hisorange". You can use it to find out all sorts of stuff about the requesting browser and device or render content for specific devices only.

Original package: https://github.com/hisorange/browser-detect

My Statamic wrapper:
https://statamic.com/addons/doefom/statamic-browser-detect

Screenshot of template code using the antlers templating language of the Statamic framework. It shows conditional statements that check if the browser is a mobile device or print the device type.

outofcontrol, to random
@outofcontrol@phpc.social avatar

Disappointed that Statamic doesn’t come with 2FA out of the box, and slightly more disappointed one has to pay for it. I get that it’s by a third party dev and all, but in this day and age, it should really be included out of the box.

eddiedale, to wordpress
@eddiedale@mastodon.social avatar

Been doing some stress testing of different CMS's today as a continuation of the CMS size comparison last week. Kirby solidly outperforming the rest here too 👀

https://www.eddiedale.com/blog/cms-comparison-part-2-stress-tests

davidbisset, to wordpress
@davidbisset@phpc.social avatar
publicvoit, to php
@publicvoit@graz.social avatar

filesize comparisons
https://www.eddiedale.com/blog/cms-filesize-comparisons/

Amazing how a simple blog requires a multitude of the disk space of my first (386) computer.
I had a 32MB HDD which contained the OS, all programs and all of my data and it wasn't even nearly half full when I started using it with dozens of programs installed.

rebornmedia, to Laravel
@rebornmedia@fosstodon.org avatar

I realised it has taken about 8 years to finally find a tech stack that I am settled on and happy with so that I am not looking around and wondering if there is something better.

#laravel
#statamic
#alpineJS
#tailwindCSS
#livewire

Pretty much everything I do is in one of these now.

statamic, to Laravel
@statamic@mastodon.social avatar

Ding ding 🛎

Was it the new feature bell that just rang?

Statamic v4.23.0 includes a brand new Impersonate feature you can use to see your site and Control Panel from the eyes of another user 🎭

See it in action 👉 https://youtube.com/watch?v=6_Fd8R9Bat8

outofcontrol, to random
@outofcontrol@phpc.social avatar

Installed with . I was a bit disappointed as I was getting loads of warning and nothing worked on the browser. Then realized that the folder name was used elsewhere, and that was the site giving all the warning. 30 minutes lost, but at least I won’t do that again… 🤣 Does valet have a checked for duplicated paths? First time Statamic user

flanger, to Laravel
@flanger@phpc.social avatar

Today I did my fastest upgrade yet: 9 -> 10, 3.4 -> 4 and 8.0 -> 8.2 in under 10 minutes for my blog! 🚀

outofcontrol, to random
@outofcontrol@phpc.social avatar

Following @valorin sort of, going to finally migrate away from to . My site has gone roughly from Wordpress to to CraftCMS over the last 20 years or whatever. Since 90% of my work is Laravel, Statamic seems like a natural fit. Luckily I don’t have a lot of posts or custom stuff, but I am hoping to post more… please don’t hold your breath, I don’t want that on my conscience.

randomgeek, to random

Pseudorandom puttering last night and I have the iteration of my site running locally again. More than a little tempted to deploy it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines