Coder Social home page Coder Social logo

sikessem / starter Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 0.0 392 KB

Start PHP applications using Laravel preconfigured with Bun, TypeScript, Livewire, Alpine.js, TailwindCSS and many others such as Vite.js, Biome, Pint, PHPStan, Larastan, Rector.

Home Page: https://packagist.org/packages/sikessem/starter

License: MIT License

PHP 90.34% TypeScript 6.13% CSS 0.19% Blade 3.16% JavaScript 0.18%
composer php sikessem starter-template laravel tailwindcss typescript alpinejs laravel-livewire larastan

starter's Introduction

sikessem-logo


php-icon typescript-icon javascript-icon packagist-version-icon packagist-download-icon license-icon actions-icon pr-icon twitter-icon

Sikessem Starter

Start PHP applications using Laravel preconfigured with TypeScript, Livewire, Alpine.js, TailwindCSS and many others such as Bun, Vite.js, Biome, Pint, PHPStan, Larastan, Rector.

πŸ”– Contents

πŸŽ‰ Getting Started

⚑️ Installation

Use this template or create a new Sikessem project via the Composer create-project command (recommended):

composer create-project sikessem/starter my-app

Where my-app is the name of your app.

Access the working directory:

cd my-app 

Install PHP dependencies:

composer install

Install JS / TS dependencies:

bun install

🍱 Build assets

The production build will generate client and server modules by running both client and server build commands:

bun run build

πŸ—ƒοΈ Manage Database

Install migrations:

php artisan migrate:install && php artisan migrate

🌐 Starting server

Run the server in development mode:

php artisan serve --host=my-app.local --port=8000

Then visit http://my-app.local:8000/

πŸ§ͺ Testing and debugging

🧹 Keep a modern codebase

  • with Biome:
bun check
  • with Pint:
composer check

βš—οΈ Run static analysis

  • Using PHPStan:
composer analyse

βœ… Run unit tests

  • using Bun:
bun run test
  • using PEST:
composer test

πŸš€ Execute end-to-end testing with Playwright:

bun e2e

πŸ› Check all code bugs

  • Frontend:
bun debug
  • Backend:
composer debug

πŸ“‹ Requirements

  • Requires PHP 8.2+ (at least 8.2.14 recommended to avoid potential bugs).
  • Requires Bun 1.0+ (at least 1.0.21 recommended to avoid potential bugs).
  • Requires Composer >=2.6.6 to manage PHP dependencies.
  • Requires Git ~2.42.0 to manage source code.

πŸ“– Documentation

The full documentation for the Sikessem Starter can be found on this address.

πŸ‘ Contribution

The main purpose of this repository is to continue evolving Sikessem. We want to make contributing to this project as easy and transparent as possible, and we are grateful to the community for contributing bug fixes and improvements. Read below to learn how you can take part in improving Sikessem.

Sikessem has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

Read our Contributing Guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Sikessem.

πŸ”’οΈ Good First Issues

We have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.

πŸ’¬ Discussions

Larger discussions and proposals are discussed in Sikessem's GitHub discussions.

πŸ” Security Reports

If you discover a security vulnerability within Sikessem, please email SIGUI KessΓ© Emmanuel at [email protected]. All security vulnerabilities will be promptly addressed.

πŸ“„ License

The Sikessem Starter is open-sourced software licensed under the MIT License - see the LICENSE file for details.


Made with ❀︎ by @siguici.

starter's People

Contributors

siguici avatar szepeviktor avatar

Stargazers

 avatar  avatar

starter's Issues

Workflow Refinement: Consolidating Tests into a Single Job

Issue Description

Initially considering the separation of frontend and backend workflows, I've reevaluated the current project context. Given that the kit is not deployed at this stage, managing separate workflows for frontend and backend may be unnecessary.

After careful consideration, I have decided to simplify the testing process by consolidating both frontend and backend tests into a single workflow. This approach aligns with the current project phase where the kit is not yet deployed.

Rationale

  • Simplicity: Having a unified workflow reduces complexity, especially in the absence of deployment considerations.
  • Efficiency: A single job for tests streamlines the testing process without the need for separate frontend and backend workflows.

Next Steps

I welcome any feedback or discussions on this decision. While the kit remains undeployed, consolidating tests into a single job provides a pragmatic solution. Future adjustments can be made as the project progresses and deployment becomes a relevant consideration.

Mixing front-end with back-end code

In the app directory front-end is mixed with back-end.
It would be cleaner to have the Laravel skeleton default app for PHP and resources for the front-end.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.