Changing the logo, name and colours of a Laravel script is mostly a hunt, not a build. The logo is usually a file in public/images or public/assets, the name lives in .env and the config, and the colours sit in a CSS file or a variables file. Find those three places, change them, clear the caches, and the script looks like your brand.

We do this kind of rebranding work often, because almost every buyer of a ready-made Laravel script wants it to look like their own product, not like the demo they bought. The good news is that most scripts are built to be rebranded — you just have to find where the pieces live.

Where do the logo, name and colours actually live?

Before you change anything, spend ten minutes finding things. A Laravel script keeps its branding in four different kinds of places, and guessing which one matters is how hours disappear.

Branding pieceWhere it usually livesWhat you change
Logo imagepublic/images, public/assets or public/uploadsReplace the image file, or update the path in the layout
Site name.env (APP_NAME) and config/app.phpEdit the value, then clear the config cache
ColoursCSS file, a variables file, or a theme setting in the admin panelEdit the colour values and rebuild or hard-refresh
Faviconpublic/favicon.ico or public/imagesReplace the file and hard-refresh the browser

The fastest way to find the logo is to open your site, right-click the logo and open the image in a new tab. The address bar shows you the exact path. For colours, inspect any coloured button, read the hex code, then search the project for it to find the file that defines it.

If your script has an admin panel, check there first. Many scripts put logo upload, site name and primary colour in a settings page, and those settings override the files. Editing a file that a database setting overrides is a classic wasted afternoon: the file changes, the site does not, and you conclude the script is broken when it is simply reading from somewhere else.

How do you change the logo the safe way?

The safest method is to replace the existing logo file with your own file of the same name and the same dimensions. If the script uses public/images/logo.png, upload your logo as logo.png in the same folder, keeping a backup of the original first. Nothing in the code changes, so nothing can break, and the new logo appears everywhere the old one did — header, login page, footer, emails, wherever the layout references that path.

There are two things to get right. First, the format. If the original is a PNG with a transparent background and you upload a JPG, the white box around your logo will show on any coloured header. Keep the format the same, and keep transparency if the original had it. Second, the size. A logo that is 1200 pixels wide will still display at the size the CSS sets, but it will load slowly and may look soft or sharp in the wrong places. Export your logo at roughly the size it displays — usually somewhere between 150 and 400 pixels wide for a header logo — and at twice that if you want it crisp on high-density screens.

Some scripts reference the logo from a setting called site_logo or from a Blade layout file in resources/views/layouts, rather than a fixed path. Change the path there, or upload through the admin settings page if one exists. After replacing the file, hard-refresh your browser (Ctrl + Shift + R) — browsers cache images aggressively, and a normal refresh can keep showing the old logo for hours.

One more honest point: a logo designed for a white background will look wrong on a dark header, and the reverse is also true. Check the logo on every background it appears against — header, login page, email header, invoice — before you call the job done.

Where do you change the site name?

The site name in a Laravel script comes from the APP_NAME value in the .env file, which feeds config/app.php. Open .env in your project root, find the line that reads APP_NAME="Something", and change the value inside the quotes. If your name has spaces, keep the quotes. Then run:

php artisan config:clear

That last step matters more than the edit. Laravel caches config, and a cached config ignores your .env changes completely. We have seen people edit APP_NAME five times, convinced the file was not saving, when the real problem was that config:cache had been run during installation and nobody cleared it afterwards. If you have SSH access, run the command. If you only have cPanel, use the terminal in cPanel, or delete the cached config file at bootstrap/cache/config.php — deleting that file is safe, Laravel rebuilds it.

The name also appears where APP_NAME does not reach: the browser tab title, the email sender name (MAIL_FROM_NAME in .env), and the footer copyright line, which is usually hardcoded in a Blade file. Search resources/views for the old name and update every hardcoded mention — and the old domain too, if you are moving the script, because footers and email templates keep carrying the demo domain long after the move.

How do you change the colours without breaking the design?

Colours are where rebranding goes wrong most often, because a script can define the same blue in six places and you only find three of them. Start by finding the primary colour: inspect a button, read its hex code, then search the project for that code. That search tells you whether colours live in one file or are scattered.

In the best case, the script uses CSS variables or a Sass variables file — something like resources/sass/_variables.scss or a :root block — and changing two or three values re-themes the whole site. In the worst case, hex codes are written directly into dozens of rules, and you replace them one by one. Either way, work from a short list:

  • Primary colour — buttons, links, active menu items, highlights.
  • Secondary colour — secondary buttons, badges, accents that sit next to the primary.
  • Header and sidebar background — the big surfaces that set the feel of the whole panel.
  • Success, warning and danger colours — leave these alone unless you have a reason; green for success and red for danger are conventions your users rely on.
  • Text colours — dark text on light backgrounds, and check contrast after every change.

Our strong opinion: change fewer colours than you think you need to. A script that looks coherent with its original palette and your logo swapped in will look better than a script where every element has been recoloured and the contrast is broken in places you have not visited yet. Change the primary, the header and the sidebar, then live with it for a day before touching anything else.

After editing a stylesheet, remember that browsers cache CSS hard — use a hard refresh, or add a version query string to the stylesheet link. If the script compiles CSS with Vite or Laravel Mix, editing the source Sass file alone changes nothing until the assets are rebuilt. On shared hosting without a build step, edit the compiled CSS in public/build or public/css directly, and keep a note of what you changed so a future rebuild does not wipe it out.

What about emails, invoices and PDFs?

This is the part almost everyone forgets, and it is the part your customers actually see. The header logo on the website is the easy bit. The logo in the password-reset email, the name on the invoice PDF and the sender name in the inbox are the places where the old brand keeps showing up weeks after you thought the rebrand was finished.

Check these one by one: send yourself a password-reset email and look at the logo and the sender name; generate an invoice or receipt and check the header; open any PDF the script produces and look at the top of the page. Email templates live in resources/views/emails or resources/views/vendor/mail, and invoice layouts are usually Blade files too. PDFs are often generated from a Blade view as well, which means the same logo path and name edits apply — but PDF generators sometimes need an absolute path to the image rather than a relative one, so if the logo is missing from a PDF while it shows on the site, that is the first thing to check.

Also check MAIL_FROM_NAME in .env, because the inbox shows that name, not your site name. If the script sends WhatsApp messages, the sender identity is set at the provider, not in the script — that is a separate change.

What should you check before you call the rebrand done?

Run through this checklist in a private browser window, so no cache can hide a leftover:

  • Homepage, login page and dashboard all show the new logo and name.
  • Favicon in the browser tab is yours, not the old one.
  • Header, sidebar and primary buttons use your colours, with readable contrast.
  • Footer copyright line and any hardcoded old name or old domain are gone.
  • Password-reset email shows your logo and sender name.
  • Invoice or receipt PDF shows your logo and business name.
  • Mobile view checked — a logo that fits on desktop can overflow badly on a phone.
  • Config cache cleared and, if you edited compiled CSS, the browser hard-refreshed.

Keep a backup of every file you changed, and a note of what you changed where. The next update may overwrite the layout or stylesheet, and without that note you will hunt for the same values again. Where a script offers a settings page for logo and colours, prefer it over editing files: settings live in the database and survive updates, while file edits do not.

If you are still setting the script up, our cPanel installation guide covers the full setup, and the 9 common errors after installation guide covers the config cache and permission problems that make branding changes look like they did nothing. For anything about what your licence allows you to change and resell, see the licence terms — and if you get stuck, our support is a real human on WhatsApp at +92 333 4916432, or by email at contact@zqdevelopers.com. Every product on codelist.top ships with full unencrypted source code, so the branding is yours to change, and with lifetime free updates.