Source code for the filamentadmin.com website.

Related tags

Laravel demo
Overview

Filament Demo App

A demo application to illustrate how Filament Admin works.

Installation

Clone the repo locally:

https://github.com/laravel-filament/demo.git filament-demo
cd filament-demo

Install PHP dependencies:

composer install

Setup configuration:

cp .env.example .env

Generate application key:

php artisan key:generate

Create an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly.

touch database/database.sqlite

Run database migrations:

php artisan migrate

Run database seeder:

php artisan db:seed

Run the dev server (the output will give the address):

php artisan serve

You're ready to go! Visit the url in your browser, and login with:

Comments
  • Migrate from Laravel Mix to Vite

    Migrate from Laravel Mix to Vite

    This pull request includes changes for migrating from Laravel Mix to Vite outlined in Migration Guide and automated by the Vite Converter.

    Before merging, you need to:

    • Checkout the shift-66727 branch
    • Run composer update
    • Run npm install
    • Review all comments for additional changes
    • Thoroughly test your application (no tests?, no CI?)

    Please send your feedback to [email protected] or share the good vibes on Twitter.

    opened by danharrin 6
  • Adding Multi Stage Dockerization

    Adding Multi Stage Dockerization

    • Multi Stage Dockerization for reduce docker image size.
    • Support php-fpm Customisable
    • Support nginx Customisable
    • Easily update port
    • No dependency
    • No need to install laravel-sail
    opened by Shipu 4
  • Livewire error after clearing search

    Livewire error after clearing search

    Step to reproduce:

    • Go filament demo, choose whatever page from sidebar (products, orders, etc).
    • As error doesn't always happened, try to search: 576674888648395525 or similar to ensure you catch the error.
    • Refresh the page (with the table search url query still there)
    • Clear or modify the search bar and an error will pop up (please check the error log, my app showed a livewire error)

    https://user-images.githubusercontent.com/26832856/194875421-658223bb-101b-4785-b8a9-61aa7c6019c7.mp4

    opened by margarizaldi 3
  • Demo 503 Error code

    Demo 503 Error code

    Screen Shot 2022-08-01 at 10 50 54 AM

    I have actually seen this a few times before. I assumed maybe it was a rate limit. Probably someone is currently updating it, but might be worth exploring if it can deployed with less downtime?

    opened by blite 3
  • Allow migrations to work with sqlite as an option

    Allow migrations to work with sqlite as an option

    Sqlite does not have a native CONCAT function. However it does have the capability with a different syntax. This PR allows selectively checks if you are running the migrations against Sqlite and changes the virtual full_address column to work it's unique syntax.

    opened by roni-estein 3
  • What license does this repository fall under? The license file is missing.

    What license does this repository fall under? The license file is missing.

    This demo is very well designed, and it would be neat to be able to use components from it. However, since there is no license file attached, no-one is allowed to use the code herein. https://choosealicense.com/no-permission/

    I would suggest the MIT License, as that's what both Laravel and FilamentPHP uses.

    All the best, Caen

    opened by caendesilva 2
  • Product Create Issue

    Product Create Issue

    Package

    filament/filament

    Package Version

    have no idea

    Laravel Version

    have no idea

    Livewire Version

    have no idea

    PHP Version

    have no idea

    Bug description

    image

    1. In the above image, you can see in number fields 'e' keywords allowing me but others alphabet not to input ...there should not be allowed any alphabets. image
    2. In the above image, you can see that unable to find categories. so when you are representing the demo so there should have at least one or two examples to find brands or categories.

    Steps to reproduce

    No response

    Relevant log output

    No response

    bug unconfirmed 
    opened by suman-codeclouds 2
  • Validate customer birthday

    Validate customer birthday

    Package

    filament/filament

    Package Version

    have no idea

    Laravel Version

    have no idea

    Livewire Version

    have no idea

    PHP Version

    have no idea

    Bug description

    image As you can see in the above image the date of birth calendar allows us to select future dates right? it should not be allowed to us. it should be disabled in the calendar.

    Steps to reproduce

    No response

    Relevant log output

    No response

    enhancement 
    opened by suman-codeclouds 2
  • error in migration

    error in migration

    error in php artisan migrate:refresh

    public function down() { Schema::dropIfExists('shop_order_addresses'); }

    instead of public function down() { Schema::dropIfExists('addresses'); }

    opened by mszabeh 1
  • mysql database connection `migrations` already exists.

    mysql database connection `migrations` already exists.

    DB_CONNECTION=mysql

    New Fresh MySQL Database Coming migration already exists.

    $ php artisan migrate:refresh
    
       INFO  Preparing database.
    
      Creating migration table ............................................................................................................... 12ms FAIL
    
       Illuminate\Database\QueryException 
    
      SQLSTATE[42S01]: Base table or view already exists: 1050 Table '`filament`.`migrations`' already exists (SQL: create table `migrations` (`id` int unsigned not null auto_increment primary key, `migration` varchar(255) not null, `batch` int not null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')      
    
      at C:\xampp\htdocs\root\prod\filament-demo\vendor\laravel\framework\src\Illuminate\Database\Connection.php:759
        755▕         // If an exception occurs when attempting to run a query, we'll format the error
        756▕         // message to include the bindings with SQL, which will make this exception a
        757▕         // lot more helpful to the developer instead of just the database's errors.
        758▕         catch (Exception $e) {
      ➜ 759▕             throw new QueryException(
        760▕                 $query, $this->prepareBindings($bindings), $e
        761▕             );
        762▕         }
        763▕     }
    
      1   C:\xampp\htdocs\root\prod\filament-demo\vendor\laravel\framework\src\Illuminate\Database\Connection.php:544
          PDOException::("SQLSTATE[42S01]: Base table or view already exists: 1050 Table '`filament`.`migrations`' already exists")
    
      2   C:\xampp\htdocs\root\prod\filament-demo\vendor\laravel\framework\src\Illuminate\Database\Connection.php:544
          PDOStatement::execute()
    
    opened by mahavishnup 1
  • Unable to save product with image

    Unable to save product with image

    Hi there, On product edit page. after I uploaded image when I click save the image is gone (only show file name not image). What I'm missing? Thanks Panya after-click-save uploaded

    opened by bj32161 1
  • Incorrect DateTime Format for App/Models/Shop/Product insert into comments created_at when using mySQL instead of sqlite

    Incorrect DateTime Format for App/Models/Shop/Product insert into comments created_at when using mySQL instead of sqlite

    Just wanted to let ya'll know that when using mySQL instead of sqlite there is an error after running "php artisan db:seed" for this.. It works when I set config/database mysql strict=false, but otherwise it won't work. Don't know if you want to fix that or just tell the users who use mySQL instead to set that in config/database.. might lead to incorrect formats though when doing that. Also it's impossible to use this unless you enable pdo_sqlite extension in php.ini, some people who don't want to use sqlite and instead use mysql will have an error whenever they want to use the "composer install, composer require, or composer update" command... unless they want to use "--ignore-platform-req=ext-pdo_sqlite" at the end of every single composer command. Might want to let those people know this as well.

    opened by andrewdwallo 12
Owner
Filament
A collection of tools for rapidly building beautiful TALL stack interfaces, designed for humans.
Filament
My aim is to make a complete website that should have all the essential parts a website should have.

Gaming-Ninja I aim to make a complete website that should have all the essential parts a website should have. https://gamingninja-3399.000webhostapp.c

Anand Jaiswar 3 Nov 23, 2022
This is the source of the official Laravel website.

Laravel Website This is the source of the official Laravel website. Local Development If you want to work on this project on your local machine, you m

The Laravel Framework 471 Dec 31, 2022
An Easy, Customizable & Open Source Robux Rewards Website Made With Laravel

RbxDream - Robux Earning Rewards Website Coming Soon Current repo not stable. This is an open source Robux rewards site. Understanding Core Concepts T

Underground 3 Feb 15, 2022
Source code behind the Laracasts Larabit: Creating and Using Custom Blade Directives

This is the source code behind the Laracasts Larabit: Creating and Using Custom Blade Directives, and features all of the files and code available in that video.

Andrew Schmelyun 1 Nov 12, 2021
Source code behind the Laracasts Larabit: My Favorite Laravel Collections Methods

My Favorite Laravel Collections Methods This is the source code behind the Laracasts Larabit: My Favorite Laravel Collections Methods, and features al

Andrew Schmelyun 2 Dec 2, 2021
Source Code for 'Domain-Driven Laravel' by Jesse Griffin

Apress Source Code This repository accompanies Domain-Driven Laravel by Jesse Griffin (Apress, 2020). Download the files as a zip using the green butt

Apress 63 Dec 17, 2022
Source code behind the Laracasts Larabit: Using MySQL JSON Columns with Laravel

Using MySQL JSON Columns with Laravel This is the source code behind the Laracasts Larabit: Using MySQL JSON Columns with Laravel, and features all of

Andrew Schmelyun 2 Dec 24, 2021
e-soft.uz source code

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Elbek Khamdullaev 4 Dec 6, 2022
🔌 Convert Bootstrap CSS code to Tailwind CSS code

Tailwindo This tool can convert Your CSS framework (currently Bootstrap) classes in HTML/PHP (any of your choice) files to equivalent Tailwind CSS cla

Awssat 938 Dec 24, 2022
Determine the geographical location of website visitors based on their IP addresses.

GeoIP for Laravel Determine the geographical location and currency of website visitors based on their IP addresses. GeoIP for Laravel on Packagist Geo

Daniel Stainback 1.9k Jan 6, 2023
Rebuild the todo website with Laravel and Vue

Lara-Todo This is a course that I took at Udmey, to create a todo website with Laravel and Vue.js Start First we need to download and setup Composer.

AmirH.Najafizadeh 6 Jul 31, 2022
PHP client library for reCAPTCHA, a free service to protect your website from spam and abuse.

reCAPTCHA PHP client library reCAPTCHA is a free CAPTCHA service that protects websites from spam and abuse. This is a PHP library that wraps up the s

Google 3.3k Dec 23, 2022
Laravel package that converts your application into a static HTML website

phpReel Static Laravel Package phpReel Static is a simple Laravel Package created and used by phpReel that converts your Laravel application to a stat

phpReel 16 Jul 7, 2022
this package makes laravel website a progressive web application.

Laravel PWA You can follow this video tutorial as well for installation. Installation Install the package by the following command, composer require l

Shailesh Ladumor 86 Dec 16, 2022
A simple website to inform you where to watch anime legally in Indonesia.

WibuSaka A simple app to inform you where to watch anime legally in Indonesia. WibuSaka uses Jikan.moe API to fetch anime datas. Requirements PHP 7.4+

Azhar At Zauhar Dripana 49 Oct 24, 2022
A blog website with blog details with laravel

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

PreshDev 3 Mar 6, 2022
This Laravel 8 package makes it possible for you to set your website in "Under Construction" mode.

Laravel Under Construction This Laravel package makes it possible to set your website in "Under Construction" mode. Only users with the correct 4 digi

Lars Janssen 571 Dec 18, 2022
Modeling online shopping website with PHP/Laravel

Online Shop M-54 Bootcamp final project. Modeling digikala website with PHP/Laravel. Creating a simple WooComers website with Laravel and Blade. Tools

AmirH.Najafizadeh 6 Aug 14, 2022
PlayZ is an esport event organization and management website allowing the creation of tournaments on the most popular video games of the esport scene.

PlayZ the playz to play Table of Contents Description "What is Playz?" In one sentence PlayZ is "an esport event organization and management website a

Antoine Saunier 2 Dec 7, 2021