Commit Graph

51 Commits

Author SHA1 Message Date
annajwasz 52b903ad10 add wizardform 2025-03-08 00:10:31 +07:00
annajwasz d9f69b7f68 Initial commit 2025-02-23 16:27:25 +07:00
annajwasz 120ffbe865 Initial commit 2025-02-20 00:14:04 +07:00
Taylor Otwell e23c0c1bfd
SQLite for local dev (#6322)
* update values for a sqlite default world

* migrate on post create project

* touch database

* fix typo
2024-01-20 16:02:54 -06:00
Taylor Otwell 39532486be wip 2023-12-18 08:27:09 -06:00
Taylor Otwell 3f1426a55a
Revert "Rename migration tables (#6295)" (#6298)
This reverts commit b86e53bc71.
2023-12-18 08:26:07 -06:00
Julius Kiekbusch b86e53bc71
Rename migration tables (#6295) 2023-12-18 08:25:35 -06:00
Taylor Otwell feded74d9e wip 2023-12-16 14:35:04 -06:00
Taylor Otwell 428a190050
[11.x] Slim skeleton (#6188)
See: https://github.com/laravel/framework/pull/47309

# Laravel 11 Skeleton Overview

### General Notes

More environment variables have been added to the `.env.example` file. 

The default `QUEUE_CONNECTION` variable value has been updated to `database` instead of `sync`.

The `BROADCAST_DRIVER` and `CACHE_DRIVER` environment variables have been renamed to `BROADCAST_CONNECTION` and `CACHE_STORE`, respectively.

The HTTP Kernel has been removed. Configuration that was previously done in this file can be done in the `bootstrap/app.php` file, including registering / replacing middleware.

The console kernel has been removed. Schedules can be defined in the console “routes” file. Commands generated by `make:command` are automatically loaded and do not require registration. Additional command loading paths can be registered in the `bootstrap/app.php` file.

The exception handler has been removed. Exception handling behavior can be configured in the `bootstrap/app.php` file via `reportable`, `renderable`, `throttle`, and more. Callbacks received by these functions will have their type hints inspected to see if they handle a given exception.

The base HTTP controller no longer extends any other classes (requiring new middleware definition feature). No traits are included by default on the base controller. Authorization can be done using facades, or traits can be added manually.

All middleware has been removed. Configuration of these middleware’s behavior can be done via static methods on the middleware themselves (see framework notes).

The `User` model now utilizes a `casts` method instead of a property. The `HasApiTokens` trait has been removed by default since Sanctum is not installed by default.

All service providers except the `AppServiceProvider` have been removed. Policies are auto-discovered and gates can be registered in `AppServiceProvider`. Likewise, events can be registered in `AppServiceProvider`. Routing behavior is now determined / customized in the `bootstrap/app.php` file.

New `bootstrap/app.php` file can be used to customize core framework behavior like routing, container bindings, middleware, and exception handling.

Sanctum is no longer installed by default (see `install:api`).

Configuration files are not present by default. Can be published by `config:publish` command. Default values are present in the framework and application level configuration now cascades with framework definitions, so only customized values need be present in application level configuration files.

Migration files have been re-dated to be evergreen. The `password_reset_tokens` table migration has been combined into the `users` table migration file. Likewise, the `jobs` table migration has been combined into a single migration with the `failed_jobs` table.

Echo bootstrapping has been removed by default. It is re-inserted by new `install:broadcasting` command.

API and channel routes files are not present by default, can be recreated by `install:api` and `install:broadcasting` respectively.
2023-11-28 14:28:15 -06:00
Taylor Otwell a28ad2966d rename password reset tokens table in skeleton 2023-01-30 16:53:14 -06:00
Dries Vints 8f5346e3af
Merge branch '9.x'
# Conflicts:
#	CHANGELOG.md
2023-01-10 17:13:01 +01:00
Nuno Maduro 55af5469c3
[10.x] Uses PHP Native Type Declarations 🐘 (#6010)
* Adds basic typing around method's arguments and return types

* Adds missing `closure` type

* Adds typing on tests

* Fixes `RedirectIfAuthenticated`

* Fixes `Authenticate`

* Improves `RedirectIfAuthenticated` types

* Fixes user factory `unverified` return type
2023-01-03 10:35:24 +01:00
Andrew Brown 091aa7d882
switch email to a primary key (#6064)
switching from a normal index here to a primary index works the same except for adding a `UNIQUE` constraint.

The `DatabaseTokenRepository` deletes existing records with an email first, before creating a new one, so this additional constraint will be okay.

https://github.com/laravel/framework/blob/9.x/src/Illuminate/Auth/Passwords/DatabaseTokenRepository.php#L88
2023-01-02 08:45:35 -06:00
suyar 6e1103180b
Update laravel/sanctum version (#5957) 2022-07-29 08:01:11 -05:00
Taylor Otwell bdcb9681a6 fix conflicts 2021-10-02 10:47:56 -05:00
Markus Machatschek 2c644455da
Use anonymous migration for personal_access_tokens table (#5698)
* Use new migration class name style for personal_access_tokens table

* Update 2019_12_14_000001_create_personal_access_tokens_table.php
2021-09-29 09:44:21 -05:00
JuanDMeGon 5f7395b289
Keeping access tokens migration id consistent (#5691)
This is just a tiny "fix," using id(); to be consistent with the other migrations already included in the framework.
2021-09-28 08:03:31 -05:00
Dries Vints 018bb3c157
Merge branch '8.x'
# Conflicts:
#	composer.json
2021-08-12 15:39:10 +02:00
Taylor Otwell 226d1bfc3c
[8.x] Sanctum (#5663)
* initial sanctum poc

* add files

* remove token
2021-08-11 13:44:34 -05:00
Dries Vints 4ce641d571
Apply fixes from StyleCI (#5607) 2021-05-07 05:54:25 -05:00
Dries Vints 6746f4ec12
[9.x] Implement anonymous migrations (#5590)
* Implement anonymous migrations

* Apply fixes from StyleCI (#5589)
2021-04-15 06:53:35 -05:00
Taylor Otwell d6eda444a7 update defaults 2020-08-19 09:32:54 -05:00
Taylor Otwell 9e5ba571a6 add password reset migration 2020-05-28 10:08:01 -05:00
Taylor Otwell 13e43893ba remove auth migration that is now in laravel/ui 2019-12-20 13:58:16 -06:00
Dries Vints 2e2be97c26 Implement new primary key syntax (#5147) 2019-11-01 08:53:14 -04:00
Dries Vints e656932002 Apply fixes from StyleCI (#5100) 2019-09-10 17:26:00 +02:00
Christopher Lass b67acda892 Rename 2019_08_19_175727_create_failed_jobs_table.php to 2019_08_19_000000_create_failed_jobs_table.php (#5082) 2019-08-21 08:14:32 -05:00
Taylor Otwell b7d2b48b75 add failed jobs table 2019-08-19 12:57:41 -05:00
Ankur Kumar 426df7a0e4
[5.8] use bigIncrements by default
All new migrations will be using bigIncrements
https://github.com/laravel/framework/pull/26472
2019-02-24 10:53:30 +05:30
Taylor Otwell 746a9e87a0 use date 2018-06-21 15:32:22 -05:00
Taylor Otwell 592b3936a3 update migration 2018-06-21 11:11:30 -05:00
Taylor Otwell 2312580af8 Merge pull request #4180 from halaei/unindex-token
unindex token
2017-03-17 13:04:12 -05:00
halaei d6d98f9705 unindex token 2017-03-17 11:47:10 +03:30
Vincent Klaiber 1d8dcad342 Remove .gitkeep in migrations directory 2016-10-17 16:04:12 +02:00
Diogo Azevedo 3ecc0e39ed Use dropIfExists instead of drop 2016-10-16 14:34:56 -02:00
Taylor Otwell e7a03b4538 Stop aliasing a bunch of classes by default.
This is not a breaking change since upgrade aliases will still work.
2016-07-14 11:27:16 -05:00
Sara Bine be7b2627ae Make password_resets.created_at nullable
Prevents MySQL assigning default CURRENT_TIMESTAMP
Related issue: laravel/framework#11518
2016-06-23 17:14:50 -06:00
SammyK 531629e442 Fix password column for future hashing 2016-02-23 20:07:18 -06:00
Lucas Michot 73c6898e1d Ensure files finish with a LB 2016-02-22 10:23:06 +01:00
Taylor Otwell f4a2282e4e Add migration stubs. 2015-04-30 14:55:34 -05:00
Taylor Otwell 5e11f87de2 Remove auth scaffolding to make it opt-in. 2015-03-18 12:55:56 -05:00
Taylor Otwell 4c78958b5b Tweak a few things. 2015-02-22 22:37:16 -06:00
Taylor Otwell cc2139ac91 Tweaking a few things. 2015-02-22 21:56:03 -06:00
Taylor Otwell f424b87a63 PSR-2 for app. 2015-02-22 20:47:03 -06:00
Taylor Otwell ce48990bf2 Tweak some paths again. 2014-12-15 08:42:13 -06:00
Taylor Otwell 532297c109 Work on default project structure. 2014-12-08 09:31:31 -06:00
Taylor Otwell fa978d0525 Working on default app structure. Login views. 2014-11-24 11:42:29 -06:00
Taylor Otwell 4b2694ce76 Fix file. 2014-11-06 13:17:58 -06:00
Taylor Otwell 36e0014a6a Fix a few password reminder things. 2014-10-22 19:16:05 -05:00
Taylor Otwell f2279c0210 Scaffold authentication as default example. 2014-10-11 22:46:53 -05:00