{"id":13805220,"url":"https://github.com/pktharindu/ttall","last_synced_at":"2025-09-27T05:30:51.675Z","repository":{"id":44508248,"uuid":"264665347","full_name":"pktharindu/ttall","owner":"pktharindu","description":"Laravel fronend preset for TTALL stack - Tailwindcss | Turbolinks | Alpine.js | Laravel | Livewire 🚀","archived":true,"fork":false,"pushed_at":"2022-02-10T06:25:59.000Z","size":5636,"stargazers_count":52,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-16T17:44:39.747Z","etag":null,"topics":["alpine","alpinejs","hacktoberfest","laravel","livewire","preset","presets","tailwind","tailwindcss","tailwindui","turbolinks"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pktharindu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-17T12:52:41.000Z","updated_at":"2024-09-30T16:47:37.000Z","dependencies_parsed_at":"2022-08-24T02:50:43.686Z","dependency_job_id":null,"html_url":"https://github.com/pktharindu/ttall","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pktharindu%2Fttall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pktharindu%2Fttall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pktharindu%2Fttall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pktharindu%2Fttall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pktharindu","download_url":"https://codeload.github.com/pktharindu/ttall/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234391377,"owners_count":18824809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine","alpinejs","hacktoberfest","laravel","livewire","preset","presets","tailwind","tailwindcss","tailwindui","turbolinks"],"created_at":"2024-08-04T01:00:58.768Z","updated_at":"2025-09-27T05:30:49.689Z","avatar_url":"https://github.com/pktharindu.png","language":"PHP","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# TTALL Preset For Laravel 7 and Up\n\n[![License: MIT](https://img.shields.io/badge/license-MIT-green)](/LICENSE)\n[![CI Status](https://github.com/pktharindu/ttall/workflows/tests/badge.svg)](https://github.com/pktharindu/ttall/actions)\n[![Total Downloads](https://poser.pugx.org/pktharindu/ttall/d/total.svg)](https://packagist.org/packages/pktharindu/ttall)\n\nAn opinionated Laravel front-end scaffolding preset for TTALL stack - Tailwindcss | Turbolinks | Alpine.js | Laravel | Livewire 🚀\n\nIt comes bundled with some helpful packages and their configurations (optional):\n\nIt uses concerns of [laravel/ui](https://github.com/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):\n\n- Laravel debugbar\n- Laravel IDE Helper\n- Php CS Fixer\n- Larastan\n- Eslint (Airbnb rules)\n- Prettier\n- Composer Git Hooks\n\n![Screen Record](https://raw.githubusercontent.com/pktharindu/ttall/master/screenshots/screen-record.gif)\n\nIf you like this package, show some love by starring the repo. ⭐❤\n\n## Contents\n\n- [TTALL Preset For Laravel 7 and Up](#ttall-preset-for-laravel-7-and-up)\n  - [Contents](#contents)\n  - [Installation](#installation)\n    - [For Basic Presets (without authentication)](#for-basic-presets-without-authentication)\n    - [For Presets with Authentication](#for-presets-with-authentication)\n  - [Configuration](#configuration)\n  - [Options](#options)\n    - [Code Helpers](#code-helpers)\n      - [Scripts](#scripts)\n  - [Support](#support)\n  - [Credits](#credits)\n  - [License](#license)\n\n\n## Installation\n\nTo install this preset on your laravel application, run:\n\n``` bash\ncomposer require pktharindu/ttall --dev\n```\n\n### For Basic Presets (without authentication)\n\nTo scaffold the basic preset without authentication, run:\n``` bash\nphp artisan ui ttall\n```\n\n### For Presets with Authentication\n\nTo scaffold the basic preset, auth route entry and auth views in one go, run:\n``` bash\nphp artisan ui ttall --auth\n```\nFinally run `composer update \u0026\u0026 npm install \u0026\u0026 npm run dev` to install the new composer packages and compile your fresh scaffolding.\n\n## Configuration\n\nAdd a new i18n string in the `resources/lang/XX/pagination.php` file for each language that your app uses:\n\n```php\n'previous' =\u003e '\u0026laquo; Previous',\n'next' =\u003e 'Next \u0026raquo;',\n'goto_page' =\u003e 'Goto page #:page', // Add this line\n```\n\nThis will help with accessibility.\n\n```html\n\u003cli\u003e\n  \u003ca href=\"URL?page=2\" class=\"...\" aria-label=\"Goto page #2\"\u003e\n    2\n  \u003c/a\u003e\n\u003c/li\u003e\n```\n\n## Options\n\nAs 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.\n\nUsage Example:\n\n```bash\nphp artisan ui ttall --option=code-helpers\n```\n\n### Code Helpers\n\n`code-helpers` option will install and configure the below packages to help you with the development:\n\n- Laravel debugbar\n- Laravel IDE Helper\n- Php CS Fixer\n- Larastan\n- Eslint (Airbnb rules)\n- Prettier\n- Composer Git Hooks\n\n#### Scripts\n\nA composer's script is added automatically to tell `Laravel IDE Helper` to rescan your `Facades` files and update git hooks after every `composer update` :\n\n```json\n\"scripts\": {\n    \"post-update-cmd\": [\n        \"Illuminate\\\\Foundation\\\\ComposerScripts::postUpdate\",\n        \"@php artisan ide-helper:generate\",\n        \"cghooks update\"\n    ]\n}\n```\n\nAlso, Git Hooks are added to format your php files automatically before each commit.\n\n```json\n\"extra\": {\n    \"hooks\": {\n        \"pre-commit\": [\n            \"STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM -- '*.php')\",\n            \"php-cs-fixer fix\",\n            \"git add $STAGED_FILES\"\n        ]\n    }\n},\n```\n\nScripts are also added to your `package.json` and `composer.json` to run specific actions :\n\n- `composer format` : will use `php-cs-fixer` to format your php files\n- `composer test` : will use the `php artisan test` command to run your phpunit tests\n- `composer analyse` : will use `larastan` to analyse your code\n- `npm run format` : will format your js files on `resources/js` folder\n- `npm run lint` : will find issues in your js files based on Airbnb's rules and try to fix them\n\n## Support\n\nIf you require any support please contact me on [Twitter](https://twitter.com/CallMeTharindu) or open an issue on this repository.\n\n## Credits\n\n- [P. K. Tharindu](https://github.com/pktharindu)\n- [All Contributors](../../contributors)\n\nThis Package is inspired by [laravel-frontend-presets/tall](https://github.com/laravel-frontend-presets/tall) and [YannickYayo/laravel-preset-ttall](https://github.com/YannickYayo/laravel-preset-ttall). I wanted to have a combination of both. Thanks to all authors of these packages.\n\n## License\n\nLicensed under the MIT license, see [LICENSE](/LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpktharindu%2Fttall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpktharindu%2Fttall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpktharindu%2Fttall/lists"}