All Projects → pktharindu → ttall

pktharindu / ttall

Licence: MIT license
Laravel fronend preset for TTALL stack - Tailwindcss | Turbolinks | Alpine.js | Laravel | Livewire 🚀

Programming Languages

PHP
23972 projects - #3 most used programming language
Blade
752 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to ttall

Goodwork
Self hosted project management and collaboration tool powered by TALL stack
Stars: ✭ 1,730 (+3360%)
Mutual labels:  livewire, tailwind, alpinejs
x-blade-components
Laravel Blade Components ready to use
Stars: ✭ 36 (-28%)
Mutual labels:  livewire, tailwind, alpinejs
tailwind-ui-components
Free Tailwind CSS UI Components - Crafted for modern websites, landing pages and web apps. TailGrids Core is free and open-source so, feel free to use with your personal or commercial projects. If you would like to show your support and love, don't forget to give us a star 🌟
Stars: ✭ 49 (-2%)
Mutual labels:  tailwind, alpinejs, tailwindui
laravellte
Fully customizable and tests supported Laravel admin dashboard 2.0
Stars: ✭ 202 (+304%)
Mutual labels:  livewire, alpinejs
powergrid-demo
⚡ PowerGrid fully configured in a Laravel project.
Stars: ✭ 38 (-24%)
Mutual labels:  livewire, tailwind
website
Source code of the Laravel Cameroon meetup website.
Stars: ✭ 47 (-6%)
Mutual labels:  livewire, tailwindui
axiom
Axiom - A Hugo Theme. GitTip: https://gitcoin.co/tip?username=jhauraw
Stars: ✭ 67 (+34%)
Mutual labels:  tailwind, alpinejs
select2-wire
free select2 livewire for laravel
Stars: ✭ 18 (-64%)
Mutual labels:  livewire, alpinejs
guild
Guild - Build Your Guild and award employees with Crypto 💰
Stars: ✭ 3 (-94%)
Mutual labels:  livewire, alpinejs
Limg
An image hosting service powered by Laravel
Stars: ✭ 41 (-18%)
Mutual labels:  livewire, tailwind
11ta-template
Deeply customizable, full-featured, ready to publish blog template built with 11ty, TailwindCSS, & Alpine.js
Stars: ✭ 98 (+96%)
Mutual labels:  alpine, alpinejs
adoteumdev
The AdoteUmDev project
Stars: ✭ 101 (+102%)
Mutual labels:  alpine, livewire
altstack
Alpine.js, Laravel, and Tailwind. An alternative full-stack development solution.
Stars: ✭ 39 (-22%)
Mutual labels:  tailwind, alpinejs
tailwind-layouts
Collection of Tailwind Layouts
Stars: ✭ 53 (+6%)
Mutual labels:  tailwind, alpinejs
rapide
WIP! do not use just yet - Opinionated Vite + Alpine.js starter PWA template
Stars: ✭ 15 (-70%)
Mutual labels:  alpine, alpinejs
tall-toasts
A Toast notification library for the Laravel TALL stack. You can push notifications from the backend or frontend to render customizable toasts with almost zero footprint on the published CSS/JS 🔥🚀
Stars: ✭ 296 (+492%)
Mutual labels:  livewire, alpinejs
laravel-simple-select
Laravel Simple Select inputs component for Blade and Livewire.
Stars: ✭ 59 (+18%)
Mutual labels:  livewire, alpinejs
bymattlee-11ty-starter
A starter boilerplate powered by 11ty, Sanity, Gulp, Tailwind CSS, rollup.js, Alpine.js and Highway.
Stars: ✭ 27 (-46%)
Mutual labels:  alpine, alpinejs
CRUD-Laravel-Livewire-SPA
CRUD Laravel 7 & Livewire (SPA) Single Page Application
Stars: ✭ 34 (-32%)
Mutual labels:  turbolinks, livewire
Uvicorn Gunicorn Docker
Docker image with Uvicorn managed by Gunicorn for high-performance web applications in Python 3.6 with performance auto-tuning. Optionally with Alpine Linux.
Stars: ✭ 244 (+388%)
Mutual labels:  alpine

TTALL Preset For Laravel 7 and Up

License: MIT CI Status Total Downloads

An opinionated Laravel front-end scaffolding preset for TTALL stack - Tailwindcss | Turbolinks | Alpine.js | Laravel | Livewire 🚀

It comes bundled with some helpful packages and their configurations (optional):

It uses concerns of laravel/ui through Livewire actions. So, security features of laravel/ui (ex: login throttling) are built right in. It also comes bundled with some helpful packages and their configurations (optional):

  • Laravel debugbar
  • Laravel IDE Helper
  • Php CS Fixer
  • Larastan
  • Eslint (Airbnb rules)
  • Prettier
  • Composer Git Hooks

Screen Record

If you like this package, show some love by starring the repo.

Contents

Installation

To install this preset on your laravel application, run:

composer require pktharindu/ttall --dev

For Basic Presets (without authentication)

To scaffold the basic preset without authentication, run:

php artisan ui ttall

For Presets with Authentication

To scaffold the basic preset, auth route entry and auth views in one go, run:

php artisan ui ttall --auth

Finally run composer update && npm install && npm run dev to install the new composer packages and compile your fresh scaffolding.

Configuration

Add a new i18n string in the resources/lang/XX/pagination.php file for each language that your app uses:

'previous' => '« Previous',
'next' => 'Next »',
'goto_page' => 'Goto page #:page', // Add this line

This will help with accessibility.

<li>
  <a href="URL?page=2" class="..." aria-label="Goto page #2">
    2
  </a>
</li>

Options

As this preset is designed to get you up-and-running quickly, it comes bundled with some extra options that will take you even further. To utilize these options, use the --option flag when installing the preset.

Usage Example:

php artisan ui ttall --option=code-helpers

Code Helpers

code-helpers option will install and configure the below packages to help you with the development:

  • Laravel debugbar
  • Laravel IDE Helper
  • Php CS Fixer
  • Larastan
  • Eslint (Airbnb rules)
  • Prettier
  • Composer Git Hooks

Scripts

A composer's script is added automatically to tell Laravel IDE Helper to rescan your Facades files and update git hooks after every composer update :

"scripts": {
    "post-update-cmd": [
        "Illuminate\\Foundation\\ComposerScripts::postUpdate",
        "@php artisan ide-helper:generate",
        "cghooks update"
    ]
}

Also, Git Hooks are added to format your php files automatically before each commit.

"extra": {
    "hooks": {
        "pre-commit": [
            "STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM -- '*.php')",
            "php-cs-fixer fix",
            "git add $STAGED_FILES"
        ]
    }
},

Scripts are also added to your package.json and composer.json to run specific actions :

  • composer format : will use php-cs-fixer to format your php files
  • composer test : will use the php artisan test command to run your phpunit tests
  • composer analyse : will use larastan to analyse your code
  • npm run format : will format your js files on resources/js folder
  • npm run lint : will find issues in your js files based on Airbnb's rules and try to fix them

Support

If you require any support please contact me on Twitter or open an issue on this repository.

Credits

This Package is inspired by laravel-frontend-presets/tall and YannickYayo/laravel-preset-ttall. I wanted to have a combination of both. Thanks to all authors of these packages.

License

Licensed under the MIT license, see LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].