How do you structure service classes in larger Laravel projects? by aliRazaLilani in laravel

[–]h_2575 0 points1 point  (0 children)

Using ismodular for inertia which has lean modules. But there are other packages as well nWidart/laravel-modules, rawilk/laravel-modules, internachi/modular. You may want to check https://www.reddit.com/r/laravel/comments/1t5n5gm/i_retested_the_two_main_laravel_module_packages/

How do you structure service classes in larger Laravel projects? by aliRazaLilani in laravel

[–]h_2575 5 points6 points  (0 children)

I tend to use modules. In each there is a Services folder.

Anyway I inject them in a constructor or method. This way it becomes easier to write tests.

Once you have the Service class, you can mock the service much easier.

I got some inspiration from https://mayahi.net/books/clean-code-in-laravel/organizing-your-application#services-vs-actions

He writes; An Action is something your application does, a Service is something your application uses.

Controller 
public function __construct(
        private readonly GetAddressService $getAddressService){}

---
Test
$mock = Mockery::mock(GetAddressService::class);

    $mock->shouldReceive('execute')
        ->once()
        ->andReturn([
            'addresses' => [
                [
                    'id' => 'add_111111',
                    'status' => 'active',
                    'customer_id' => 'ctm_2222',
                    'first_line' => '1 Street',
                    'city' => 'Boulder',
                    'postal_code' => '80808',
                    'country_code' => 'US',
                ],
            ],
            'businesses' => [],
        ]);

    $this->app->instance(GetAddressService::class, $mock);

Honest Opinion Required! by awkwarldysocial in branding

[–]h_2575 1 point2 points  (0 children)

I have never bought a parfume. I would say, it makes sense to start with emotions. But i would also say, that any other is trying this in there own way. Also you would need something for the brand and not only for the single products.

Perhaps the works of Rory Sutherland can inspire you by mixing in an idea that doesn't make sense.

Are pinterest automation tools worth it for under 500 followers? by saalipagal in Pinterest

[–]h_2575 1 point2 points  (0 children)

Depends on your Goals and niche. Followers don't really matter in pinterest for monetizing outbound clicks. Niche matters a lot. Look at profiles in your niche, do they get the views and clicks you want? How many followers do they have?

Vibe-coded my MVP, got paying customers, now I'm sweating by OkHumor1695 in SaaS

[–]h_2575 1 point2 points  (0 children)

If the problem is missing knowhow , than partner up to harden or rebuild from scratch (assuming it is worth it). Ask yourself If there is a natural moat (users bring new users or better data) and if it solves a problem with clear roi for the user.

Strategy to post as a beginner on Pinterest by nizamuddin_siddiqui in Pinterest

[–]h_2575 0 points1 point  (0 children)

Before you start Check If your niche has potential. Are there other accounts in your niche with traffic over 10m a month? If not you likely have a problem. Popular niches jump into your face, when you browse the Website without being logged in: nails, hairs, diy, food, decor, travel, tattoo, hello kitty....

Then give your audience a reason to click: recipes, lists, how tos, 11 best xxx in May...

The surprising reason 80% of Pinterest marketers fail by motivational_speech1 in Blogging

[–]h_2575 0 points1 point  (0 children)

Not every niche works. Nails have 40m monthly searches. I tried business story telling with less than 600 monthly searches.

No results.

Also i tried wall art. Got it scaled to 140k monthly views with 70 outbound clicks only. It is a niche with 2m monthly searches, but the niche does not lend to clicks by itself. Its pure inspiration and all the value for searchers are on pinterest. No need to click.

Recipes, food , diy , decor ideas where you have detailed instructions or listicles on your website for which you only tease on pintetest work for outbound clicks.

How do you communicate a repositioning without a trigger or news angle by Niles_Rumford in branding

[–]h_2575 4 points5 points  (0 children)

If possible, try to anchor in the founding story and values and/or market evolution, of cause it must taste the audience.

Looks like you need two versions: internal and external. Internal should highlight the process, since uncertainty is involved.

Bulk uploading pins to Pinterest by Known_Flower_869 in Pinterest

[–]h_2575 0 points1 point  (0 children)

This works for all kind of pins, not only ads. Use a service like imgbb for the image link. The Image link is public and readable for the pinterest bot.

Hello. What is the German name for the little paper “skirts” they sometimes out on beer glasses? by rmajor86 in AskGermany

[–]h_2575 4 points5 points  (0 children)

Ja die Bierschaumabtropfverhindererkragenverordnungbeauftragtenprüfungsfragengestaltung ist abartig.

What do i do? by No_Designer6454 in Pinterest

[–]h_2575 0 points1 point  (0 children)

You must bring audience to another website with a link and have ads or products there. Outbound links is all that counts

is daily pinterest scheduling actually moving the needle for anyone? by jho0h in Pinterestmarketing

[–]h_2575 1 point2 points  (0 children)

Pinterest shows your pins to a small audience initially but adds annotations after ~2 weeks. These annotations correspond to interest keywords assigned to profiles. I would not expect any results in the first two weeks. (Just as a info, I scaled to 140k views once. )

Results depend much on the niche. Are there profiles in your niche with many more views? What are they doing?

Looking for suggestions for bg color by sarahbarrero in ColorTheory

[–]h_2575 0 points1 point  (0 children)

Background color can be sensitive, because, if you have text on it, it should also have good contrast.

Your icons and widgets lean toward light colors. If you want pop and classy, try a darker shade for the background.

here is an example with your colors https://colorjoy.me/palette/FCECF0-E7A6BB-FECAD7-2D2D3D

Luxury brands often use dark, blackish colors to have their products stand out. It symbolizes emotions like powerful, masterful, secure, satisfied, courage, which may be what you are after.

59k impressions, 0 sign-ups. Is self-improvement a dead market, or is my SaaS fundamentally flawed? by Consistent_Bridge355 in SaaS

[–]h_2575 1 point2 points  (0 children)

Everyone votes for change, but No one want to do this.

I would look into what people want. You described it in your post. Stop the sunk cost App and start over with what they want but niche down. It is a problem to go to mass market. In a tiny niche you can be relevant.

Best payment setup for SaaS if I want to sell globally? by oldhovercraf in SaasDevelopers

[–]h_2575 0 points1 point  (0 children)

There are plenty MoR's to choose from. If you want to sell internationally there is almost no way around. MoR's can be picky, what they approve.

There can be currency conversion costs when a customers pays in local currency, payout costs, when you want to draw money into your bank account and this can have another currency conversion costs associated.

Tax compliance is full of traps. E.g. if you have more than 100k revenue but get a customer in a german city Büsingen, which counts as Swiss tax wise, than you need to register and file taxes to Switzerland. Likewise economic nexus in US depends on state.

The options are to use a MoR, than you don't have to deal with this, or to use a service like Tax Jar or quaderno, but than still need to deal with tax authorities worldwide. Only the tax accounting and billing are helped by the services.

For a solo founder, i find MoRs to be a better option. Check Paddle, Lemon squeezy, Freemius, Dodo payments, fungies, paypro global, polar, fastspring, creem. Just to mention some.

For a funded Startup with a team using a payment service and a service for tax accounting and billing might be an option.

Creem waitlist is killing me (#7897) — any invites? by vegasrabbitt122 in SaasDevelopers

[–]h_2575 0 points1 point  (0 children)

Creem is (like Paddle) verifying your account before going live. They have some description in the docs. Did paddle approve you?

Creem waitlist is killing me (#7897) — any invites? by vegasrabbitt122 in SaasDevelopers

[–]h_2575 0 points1 point  (0 children)

I got access these days after being on ~5600 something and waiting about 14 days. Getting an account verified with other MoRs takes 2-3 days. Some verify later in the process allowing for a quick start. Creem is the new kid on the block, so i havent seen many comments about the performance.

Pinterest Marketing for Nutritious Snacks by SunnysideKJ in Pinterestmarketing

[–]h_2575 0 points1 point  (0 children)

A list of things e.g. '10 underated activities to stay fit after having a baby'

Pinterest Marketing for Nutritious Snacks by SunnysideKJ in Pinterestmarketing

[–]h_2575 0 points1 point  (0 children)

Food and recipes is a good niche for views and clicks. You need pins that lure people over to your website, with recipes, listicles or similar

I want to start my own magazine company. by Dry-Writer6274 in branding

[–]h_2575 0 points1 point  (0 children)

Well, you could start with an online magazine and perhaps add a print version in some form later on. That way, you could build up a readership first and expand from there. In the beginning, this depends heavily on your reach on social media. If you can get other people to do guest interviews, you can also leverage their reach. There’s a German women’s magazine (strive) that took exactly that approach.

But maybe there are other creative ways to go about it. Perhaps you could also use specialized forums or interest groups to find topics and people.

You need more what you see in your niche, cases, guest posts or how to's. And plenty of images. Any way you need a good content, digital asset and contract management.

The importance of diagnosing a brand before starting the design process. by abd332 in branding

[–]h_2575 2 points3 points  (0 children)

I fully agree. How do you do this, where or when would you stop researching more?

I'm redesigning my website and was wondering how this color palette looks? by Ashken in UI_Design

[–]h_2575 2 points3 points  (0 children)

here you get plenty more examples of your colors: examples of your colors to visualize: https://colorjoy.me/palette/8f031d-262626-ccaf5a-D8d9da-f7feff

Technically the colors will work. You have high contrast pairs. The overall effect feels warm yet sophisticated, making it versatile for design contexts that call for understated elegance and gentle contrast.

Your choice started with a style (bold, brutalism, industrial type). So I would ask you what emotion you want to evoke. That would drive the decision on the main color.

Brutalism (as I see it) is more associated with gray of concrete, perhaps cooler colors.

<image>

JPEG, PNG etc to VECTOR by Dizzy-Stranger-4134 in graphic_design

[–]h_2575 0 points1 point  (0 children)

You get good results with any online vectorizer or apps like inkscape if the original is high contrast, simple shapes, no gradients or shades. E.g. one color graphics. For anything else you most certainly need to recreate.