{"id":19492101,"url":"https://github.com/blockpc/blockpcito","last_synced_at":"2026-04-05T21:03:17.106Z","repository":{"id":38417064,"uuid":"478346268","full_name":"blockpc/blockpcito","owner":"blockpc","description":"New version for template with laravel 9 / 10","archived":true,"fork":false,"pushed_at":"2023-08-24T11:51:32.000Z","size":1778,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T15:44:36.785Z","etag":null,"topics":["alpinejs","laravel-framework","livewire","php","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blockpc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-06T00:31:10.000Z","updated_at":"2025-01-30T10:18:48.000Z","dependencies_parsed_at":"2024-11-10T21:19:42.013Z","dependency_job_id":"b2e82f54-e737-4483-a762-b63ada742338","html_url":"https://github.com/blockpc/blockpcito","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/blockpc/blockpcito","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockpc%2Fblockpcito","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockpc%2Fblockpcito/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockpc%2Fblockpcito/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockpc%2Fblockpcito/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blockpc","download_url":"https://codeload.github.com/blockpc/blockpcito/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockpc%2Fblockpcito/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268322394,"owners_count":24231818,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["alpinejs","laravel-framework","livewire","php","tailwindcss"],"created_at":"2024-11-10T21:19:19.172Z","updated_at":"2025-12-30T21:52:09.432Z","avatar_url":"https://github.com/blockpc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blockpcito Layout\n\n## Laravel backend Layout\n\nThis repo contains a frontend and bakend layouts for a laravel breeze  \nContains:\n- Laravel 10 (With vite)\n- Tailwind\n- Livewire\n- Alpine JS\n\nPackages for laravel:\n- [barryvdh/laravel-debugbar](https://github.com/barryvdh/laravel-debugbar) (for only dev)\n- [christophrumpel/missing-livewire-assertions](https://github.com/christophrumpel/missing-livewire-assertions)\n- [spatie/laravel-permission](https://spatie.be/index.php/docs/laravel-permission)\n- [intervention/image](http://image.intervention.io/)\n\nIcons [blade-ui-kit/blade-icons](https://github.com/blade-ui-kit/blade-icons) with  \n- [Boxicons](https://github.com/mallardduck/blade-boxicons)\n- [Heroicos](https://github.com/blade-ui-kit/blade-heroicons)\n\n_Dont forget clear cache icons if don't see them correctly_\n\nHelpers: file autoload helper on `Blockpc\\helpers.php`\n\nPackages NPM:  \n\n- [tailwind-scrollbar](https://github.com/adoxography/tailwind-scrollbar)\n- [aspect-ratio](https://github.com/tailwindlabs/tailwindcss-aspect-ratio)\n\nThis packages includes a model `Profile` (one-to-one for user) and model `Image` (polimorphic model)\n\nAnd change some components from the original laravel install.\n\n### Install Clone\n\nfirst clone\n\n    git clone https://github.com/blockpc/blockpcito _your-name-proyect_\n\n    or\n\n    git clone -b laravel-9 --single-branch https://github.com/blockpc/blockpcito _your-name-proyect_\n\nnext\n\n    cd _your-name-proyect_\n    cp .env.example .env (Configure your app name, app url, database, email, etc)\n    composer install\n    php artisan key:generate\n    php artisan storage:link\n    php artisan icons:cache\n\nif not use SAIL\n\n\tphp artisan migrate --seed\n\tnpm install\n\tnpm run dev\n\topen a new console\n\tphp artisan test\n\nelse, with sail\n\n\tcheck if not docker-compose.yml exists\n\t\tphp artisan sail:install (select your prefers apps, comma separator)\n\t\tyou must change DB_HOST in your .env\n\n\tcheck VITE_PORT in docker-compose.yml `${VITE_PORT:-5173}:${VITE_PORT:-5173}`\n\t./vendor/bin/sail up -d\n\t./vendor/bin/sail php artisan migrate --seed\n\tcheck in phpunit.xml or add `\u003cenv name=\"DB_CONNECTION\" value=\"sqlite\"/\u003e`\n\t./vendor/bin/sail npm install\n\t./vendor/bin/sail npm run dev\n\topen a new console\n\t./vendor/bin/sail php artisan test --stop-on-failure\n\n### Change remote (important)\n\nYou must before start your proyect remove or change the git remote url\n\n- git remote set-url origin `url-at-your-proyect-git`\n- git remote -v\n\n### Install PhpMyAdmin on Sail (optional)\n\n`php artisan sail:install`  \n\nif you wants install `phpmyadmin` for mysql/mariadb add at your `docker-compose.yml`  \nand replace mariadb or mysql  \n\n```\nphpmyadmin:\n    image: phpmyadmin/phpmyadmin:latest\n    restart: always\n    links:\n        - mariadb:mariadb\n    ports:\n        - 8080:80\n    environment:\n        MYSQL_USERNAME: \"${DB_USERNAME}\"\n        MYSQL_ROOT_PASSWORD: \"${DB_PASSWORD}\"\n        PMA_HOST: mariadb\n    networks:\n        - sail\n    depends_on:\n        - mariadb\n```\n\n### Create Package\n\nwith command `php artisan blockpc:package` you can create your own packages folder with own service provider.\nThis command create a folder structure like this:\n```\nPackages/\n    - Package/\n        - App/\n            - Http/\n                - Controllers/\n                    - PackageController.php\n            - Models/\n                - Package.php\n            - Providers/\n                - PackageServiceProvider.php\n        - config/\n            - config.php\n        - database/\n            - migrations/\n                - 2022_06_02_140645_create_packages_table.php\n        - lang/\n            - en/\n                - package.php\n        - resources/\n            - views/\n                - index.blade.php\n        - routes/\n            - web.php\n```\nThis command run `php artisan optimize --quiet`\n\n### Delete command\n\nwith command `php artisan blockpc:package-delete` you can delete your own packages folder\n\n### Others\n\nNotes:  \n- After add a new route in the web.php, you should run the command `php artisan route:clear`\n- You must delete file `.gitignore` in packages folder  \n\n_remember run `npm run dev` in development_\n\n_this repository will always be up to date_\n\nEnjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockpc%2Fblockpcito","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblockpc%2Fblockpcito","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockpc%2Fblockpcito/lists"}