Fresh: Laravel Package Skeleton with CI &amp; Boost | Mohamed Said        [  ![Mohamed Said](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MH.png)   Mohamed Said Laravel Backend Engineer  ](https://www.msaied.com) [ Home ](https://www.msaied.com) [ Projects ](https://www.msaied.com/projects) [ Articles  ](https://www.msaied.com/articles) [ Certificates ](https://www.msaied.com/certificates) [ Contact ](https://www.msaied.com#contact-section) 

       [  ](https://github.com/EG-Mohamed)       

 [ Home ](https://www.msaied.com) [ Projects ](https://www.msaied.com/projects) [ Articles ](https://www.msaied.com/articles) [ Certificates ](https://www.msaied.com/certificates) [ Contact ](https://www.msaied.com#contact-section) 

  [ home ](https://www.msaied.com)    [ articles ](https://www.msaied.com/articles)    Fresh: A Laravel Package Skeleton with Testbench, CI, and Boost Integration        On this page       1. [  What Is Fresh? ](#what-is-fresh)
2. [  Getting Started ](#getting-started)
3. [  What Gets Scaffolded ](#what-gets-scaffolded)
4. [  Testing and Code Quality ](#testing-and-code-quality)
5. [  Workbench App ](#workbench-app)
6. [  Laravel Version Switcher ](#laravel-version-switcher)
7. [  GitHub Actions CI ](#github-actions-ci)
8. [  Full-Stack Frontend (Optional) ](#full-stack-frontend-optional)
9. [  Repository Hygiene ](#repository-hygiene)
10. [  Domain-Driven Directory Layout ](#domain-driven-directory-layout)
11. [  Laravel Boost and AI Skills ](#laravel-boost-and-ai-skills)
12. [  Key Takeaways ](#key-takeaways)

  ![Fresh: A Laravel Package Skeleton with Testbench, CI, and Boost Integration](https://cdn.msaied.com/679/6e34855eba64d6cc443c5cb2e7d17555.png)

 [  Laravel ](https://www.msaied.com/articles?category=laravel) [  Composer Pacakge ](https://www.msaied.com/articles?category=composer-pacakge)  #Laravel   #Package Development   #Orchestra Testbench   #GitHub Actions   #Laravel Boost   #PHP  

 Fresh: A Laravel Package Skeleton with Testbench, CI, and Boost Integration 
=============================================================================

     18 Sep 2026      3 min read    ![Mohamed Said](https://cdn.msaied.com/01M22N44A70A5MC2S599JP0MPH.webp)  Mohamed Said  

       Table of contents

  12 sections  

1. [  01   What Is Fresh?  ](#what-is-fresh)
2. [  02   Getting Started  ](#getting-started)
3. [  03   What Gets Scaffolded  ](#what-gets-scaffolded)
4. [  04   Testing and Code Quality  ](#testing-and-code-quality)
5. [  05   Workbench App  ](#workbench-app)
6. [  06   Laravel Version Switcher  ](#laravel-version-switcher)
7. [  07   GitHub Actions CI  ](#github-actions-ci)
8. [  08   Full-Stack Frontend (Optional)  ](#full-stack-frontend-optional)
9. [  09   Repository Hygiene  ](#repository-hygiene)
10. [  10   Domain-Driven Directory Layout  ](#domain-driven-directory-layout)
11. [  11   Laravel Boost and AI Skills  ](#laravel-boost-and-ai-skills)
12. [  12   Key Takeaways  ](#key-takeaways)

       What Is Fresh?
--------------

Fresh is an opinionated Laravel package skeleton created by Mazen Touati. Scaffold it with a single Composer command and you get a fully wired package environment — tests, static analysis, CI pipelines, a workbench app, and optional AI agent skill stubs — ready to go before you write a single line of business logic. It supports both backend-only and full-stack packages.

Getting Started
---------------

Create a new package with:

```bash
composer create-project sunchayn/fresh-package my-package
cd my-package

```

An interactive wizard runs on `composer install` and collects your package details and the features you want to enable. Every prompt is also available as a CLI flag, so you can drive the setup non-interactively from a script or CI job:

```bash
php .template/init template:init --no-interaction \
  --package-name=acme/webhooks \
  --vendor-namespace=Acme \
  --class-name=Webhooks \
  --config --routes --migrations --commands \
  --no-blade --no-translations --no-facade --no-assets \
  --no-vue --no-funding

```

What Gets Scaffolded
--------------------

### Testing and Code Quality

- **PHPUnit** with **Paratest** for parallel test runs
- **Larastan** for static analysis
- **Rector** and **Pint** for automated code style and refactoring fixes

### Workbench App

Fresh includes an Orchestra Testbench `workbench/` application. Run `composer serve` to boot your package inside a real Laravel app without needing a separate host project — ideal for manual testing and UI verification.

### Laravel Version Switcher

Two convenience scripts let you flip between supported Laravel majors locally:

```bash
composer switch:l12
composer switch:l13

```

### GitHub Actions CI

The bundled workflow matrix covers:

- PHP 8.3 through 8.5 × Laravel 12 and 13
- Codecov coverage reporting
- Static analysis, Pint, and Rector auto-fix jobs
- Automated releases via **release-please**

### Full-Stack Frontend (Optional)

If you need a frontend, Fresh wires up **Vue 3**, **Tailwind v4**, **Vite**, and **TypeScript**, complete with ESLint, Prettier, Vitest, and a type-check workflow.

### Repository Hygiene

Dependabot configuration, an issue template, a funding file, and a security policy are all included out of the box.

Domain-Driven Directory Layout
------------------------------

Fresh organises source code by domain rather than by technical type:

```
src/
  Http/Greeting/
    Controllers/GreetingController.php
    Requests/GreetingRequest.php
    Resources/GreetingResource.php
  Modules/Greeting/
    Actions/BuildGreetingAction.php
    DataTransferObjects/GreetingData.php
    Enums/GreetingTone.php

```

Laravel Boost and AI Skills
---------------------------

Fresh ships with AI guidelines and skills for the package repo itself. The bundled `scaffold-module` skill enforces the domain layout when an AI agent adds a feature, while `create-dto-action`, `write-php-test`, and `task-finalization` skills cover the rest of a typical change.

An optional **Laravel Boost** skill stub adds a `resources/boost/skills/` directory. Apps that install your package will automatically receive package-specific guidelines and skills inside Laravel Boost.

Key Takeaways
-------------

- Scaffold a production-ready Laravel package in one command
- Parallel PHPUnit, Larastan, Rector, and Pint configured from day one
- Orchestra Testbench workbench lets you run the package without a host app
- GitHub Actions matrix covers PHP 8.3–8.5 and Laravel 12–13
- Optional Vue 3 + Tailwind v4 + TypeScript frontend stack included
- AI skill stubs for both the package repo and consuming apps via Laravel Boost
- Every wizard prompt has a `--flag` for fully automated, non-interactive setup

---

**Source:** [Laravel News — Fresh Package: Laravel Package Skeleton with Testbench, CI, and Boost Integration](https://laravel-news.com/fresh-package-laravel-package-skeleton)

 Found this useful?

          [  ](https://twitter.com/intent/tweet?url=https%3A%2F%2Fwww.msaied.com%2Farticles%2Ffresh-a-laravel-package-skeleton-with-testbench-ci-and-boost-integration&text=Fresh%3A+A+Laravel+Package+Skeleton+with+Testbench%2C+CI%2C+and+Boost+Integration) [  ](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.msaied.com%2Farticles%2Ffresh-a-laravel-package-skeleton-with-testbench-ci-and-boost-integration) 

 Frequently Asked Questions 
----------------------------

  3 questions  

     Q01  What tools does the Fresh Laravel package skeleton include for code quality?        Fresh ships with PHPUnit and Paratest for parallel test runs, Larastan for static analysis, and both Rector and Pint for automated code style and refactoring fixes. 

      Q02  How does the Orchestra Testbench workbench in Fresh work?        Fresh includes a `workbench/` directory powered by Orchestra Testbench. Running `composer serve` boots your package inside a real Laravel application, so you can manually test and click through it without needing a separate host project. 

      Q03  Can I create a Fresh package without going through the interactive wizard?        Yes. Every wizard prompt has a corresponding CLI flag. Pass `--no-interaction` along with flags such as `--package-name`, `--vendor-namespace`, and feature toggles like `--no-vue` to drive the setup fully non-interactively from a script or CI job. 

  Continue reading

 More Articles 
---------------

 [ View all    ](https://www.msaied.com/articles) 

 [ ![Inertia DevTools Now Available for Firefox](https://cdn.msaied.com/674/445325ab535802b1b68d3adc3ada5cd0.png) Inertia.js DevTools Firefox 

### Inertia DevTools Now Available for Firefox

Inertia DevTools has landed on Firefox with full feature parity to the Chrome extension. Firefox users can now...

  ![Mohamed Said](https://cdn.msaied.com/01M22N44A70A5MC2S599JP0MPH.webp)  Mohamed Said 

 17 Sep 2026     3 min read  

  Read    

 ](https://www.msaied.com/articles/inertia-devtools-now-available-for-firefox) [ ![Laravel Scalpel: Filesystem Intrusion Evidence Scanner for Laravel Apps](https://cdn.msaied.com/675/406b0f123858892b97052502c0020eac.png) security laravel php 

### Laravel Scalpel: Filesystem Intrusion Evidence Scanner for Laravel Apps

Laravel Scalpel is a post-compromise scanner that checks your deployed application's filesystem for rogue PHP...

  ![Mohamed Said](https://cdn.msaied.com/01M22N44A70A5MC2S599JP0MPH.webp)  Mohamed Said 

 17 Sep 2026     4 min read  

  Read    

 ](https://www.msaied.com/articles/laravel-scalpel-filesystem-intrusion-evidence-scanner-for-laravel-apps) [ ![Mercure Broadcasting in Laravel 13.32](https://cdn.msaied.com/672/f3bf9ae116410789061208a12ebf2682.png) Laravel Broadcasting Mercure 

### Mercure Broadcasting in Laravel 13.32

Laravel 13.32 ships a native Mercure broadcast driver using SSE, new copyToDisk() and moveToDisk() filesystem...

  ![Mohamed Said](https://cdn.msaied.com/01M22N44A70A5MC2S599JP0MPH.webp)  Mohamed Said 

 16 Sep 2026     3 min read  

  Read    

 ](https://www.msaied.com/articles/mercure-broadcasting-in-laravel-1332) 

   [  ![Mohamed Said](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MH.png)   Mohamed Said Laravel Backend Engineer  ](https://www.msaied.com)Senior Backend Engineer specializing in Laravel, scalable SaaS platforms, APIs, and cloud infrastructure. I build secure, high-performance web applications that help businesses grow.

Explore

- [Home](https://www.msaied.com)
- [Projects](https://www.msaied.com/projects)
- [Articles](https://www.msaied.com/articles)
- [Certificates](https://www.msaied.com/certificates)
- [Contact](https://www.msaied.com#contact-section)

Connect

- [   hello@msaied.com ](mailto:hello@msaied.com)
- [   +20 109 461 9204 ](tel:+201094619204)

© 2026 Mohamed Said. All rights reserved.

 [  ](https://github.com/EG-Mohamed) [  ](https://www.linkedin.com/in/msaiedm/) [  ](https://wa.me/201094619204) [  ](mailto:hello@msaied.com) [  ](https://drive.google.com/file/u/0/d/1MF20IPRJyzfy32mhEutjL5EpSls0w2Q8/view)
